Skip to content

Commit 3cb3674

Browse files
committed
test: Fix test cases for timeZone difference
mscdex#148 Thanks @ kunalspathak
1 parent 6bac24e commit 3cb3674

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

test/test-parser.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var group = path.basename(__filename, '.js') + '/';
1919
owner: 'root',
2020
group: 'root',
2121
size: 4096,
22-
date: new Date('2012-12-21T00:00')
22+
date: new Date('2012-12-21T00:00Z')
2323
},
2424
what: 'Normal directory'
2525
},
@@ -34,7 +34,7 @@ var group = path.basename(__filename, '.js') + '/';
3434
owner: 'owner',
3535
group: 'group',
3636
size: 0,
37-
date: new Date('2012-08-31T00:00')
37+
date: new Date('2012-08-31T00:00Z')
3838
},
3939
what: 'Normal directory #2'
4040
},
@@ -49,7 +49,7 @@ var group = path.basename(__filename, '.js') + '/';
4949
owner: 'owner',
5050
group: 'group',
5151
size: 7045120,
52-
date: new Date('2012-09-02T00:00')
52+
date: new Date('2012-09-02T00:00Z')
5353
},
5454
what: 'Normal file'
5555
},
@@ -64,7 +64,7 @@ var group = path.basename(__filename, '.js') + '/';
6464
owner: 'owner',
6565
group: 'group',
6666
size: 7045120,
67-
date: new Date('2012-09-02T00:00')
67+
date: new Date('2012-09-02T00:00Z')
6868
},
6969
what: 'File with ACL set'
7070
},
@@ -79,7 +79,7 @@ var group = path.basename(__filename, '.js') + '/';
7979
owner: 'root',
8080
group: 'root',
8181
size: 4096,
82-
date: new Date('2012-05-19T00:00')
82+
date: new Date('2012-05-19T00:00Z')
8383
},
8484
what: 'Directory with sticky bit and executable for others'
8585
},
@@ -94,7 +94,7 @@ var group = path.basename(__filename, '.js') + '/';
9494
owner: 'root',
9595
group: 'root',
9696
size: 4096,
97-
date: new Date('2012-05-19T00:00')
97+
date: new Date('2012-05-19T00:00Z')
9898
},
9999
what: 'Directory with sticky bit and executable for others #2'
100100
},
@@ -109,7 +109,7 @@ var group = path.basename(__filename, '.js') + '/';
109109
owner: 'root',
110110
group: 'root',
111111
size: 4096,
112-
date: new Date('2012-05-19T00:00')
112+
date: new Date('2012-05-19T00:00Z')
113113
},
114114
what: 'Directory with sticky bit and not executable for others'
115115
},
@@ -124,7 +124,7 @@ var group = path.basename(__filename, '.js') + '/';
124124
owner: 'root',
125125
group: 'root',
126126
size: 4096,
127-
date: new Date('2012-05-19T00:00')
127+
date: new Date('2012-05-19T00:00Z')
128128
},
129129
what: 'Directory with sticky bit and not executable for others #2'
130130
},

0 commit comments

Comments
 (0)