Skip to content

Commit

Permalink
Update a datetime unit test (add 2 years)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbadia committed Aug 25, 2019
1 parent e80bc9b commit bb40b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frameworks/datetime/tests/system/core.js
Expand Up @@ -230,7 +230,7 @@ test('compare', function() {
test('Format', function() {
equals(
dt.toFormattedString('%a %A %b %B %d %D %h %H %I %j %m %M %p %S %N %w %y %Y %%a %E'),
'Sun Sunday Jun June 09 9 4 04 04 160 06 00 AM 22 7 0 85 1985 %a 33 years ago');
'Sun Sunday Jun June 09 9 4 04 04 160 06 00 AM 22 7 0 85 1985 %a 34 years ago');

equals(dt.toFormattedString('%Z'), formatTimezone(dt.get('timezone')));
equals(dt.adjust({ timezone: 0 }).toFormattedString('%Y-%m-%d %H:%M:%S %Z'), '1985-06-09 05:00:22 +00:00');
Expand Down

0 comments on commit bb40b1a

Please sign in to comment.