Skip to content

Commit

Permalink
Epoch.Formats.seconds test fail.
Browse files Browse the repository at this point in the history
Test fail when tested on a machine with timezone GMT+2.
  • Loading branch information
plks-gft committed Mar 14, 2016
1 parent 1d94c57 commit ca42c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/core/format.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ describe 'Epoch.Formats', ->

describe 'seconds', ->
it 'should return a well formatted date given a timestamp', ->
assert.equal Epoch.Formats.seconds(1404385979), '04:12:59 AM'
assert.match Epoch.Formats.seconds(1404385979), /\d{2}:\d{2}:\d{2} AM|PM/

0 comments on commit ca42c07

Please sign in to comment.