Skip to content

Commit

Permalink
Merge pull request #216 from pawelkorus/epoch_formats_seconds_fail_wh…
Browse files Browse the repository at this point in the history
…en_timezone_gmt_2

Epoch.Formats.seconds test fails
  • Loading branch information
rsandor committed Mar 15, 2016
2 parents 1d94c57 + ca42c07 commit 89ea4bc
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 89ea4bc

Please sign in to comment.