We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 540a0a5 commit d55769eCopy full SHA for d55769e
test/issues_spec.js
@@ -1,5 +1,11 @@
1
describe('issues', function() {
2
- it('see #112', function() {
+ it('fixes #115', function() {
3
+ expect($.format.date('Wed Jul 31 2019 15:12:13 GMT+0200 (heure d’été d’Europe centrale)', 'HH:mm:ss a ddd MMMM d yyyy')).toEqual('15:12:13 PM Wednesday July 31 2019');
4
+ expect($.format.date('Wed Jul 31 2019 15:11:29 GMT+0200 (GMT+02:00)', 'HH:mm:ss a ddd MMMM d yyyy')).toEqual('15:11:29 PM Wednesday July 31 2019');
5
+ expect($.format.date('Sun Jan 13 2019 23:38:49 GMT-1200 (GMT-12:00)', 'HH:mm:ss')).toEqual('23:38:49');
6
+ });
7
+
8
+ it('fixes #112', function() {
9
// https://github.com/phstc/jquery-dateFormat/issues/112
10
var testDate = new Date('Jul 9, 2018 12:28:00');
11
0 commit comments