Skip to content
Browse files

fix locale issues with the tests

  • Loading branch information...
1 parent af10057 commit b9f86e9af922117e3c00efe52479354cdea5cb3e @substack committed Jun 24, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/time.js
View
4 test/time.js
@@ -3,8 +3,8 @@ var decode = require('../');
var strftime = require('strftime');
test('time codes', function (t) {
- var t0 = new Date(1370000000000); // fri may 31 2013 04:33:20
- var t1 = new Date(1371000000000); // tue june 11 2013 18:20:00
+ var t0 = new Date("Fri May 31 2013 04:33:20");
+ var t1 = new Date("Tue June 11 2013 18:20:00");
t.equal(decode('\\d'), strftime('%a %b %d'), "now o'clock");
t.equal(decode('\\d', { now: t0 }), 'Fri May 31');

0 comments on commit b9f86e9

Please sign in to comment.
Something went wrong with that request. Please try again.