Skip to content

Commit

Permalink
Updating specs
Browse files Browse the repository at this point in the history
  • Loading branch information
defrag committed Apr 29, 2014
1 parent 1025464 commit f62ed58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/Coduo/PHPHumanizer/DateTimeSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,10 @@ function it_humanizes_precise_difference_between_dates()
array("2014-04-26 13:00:00", "2014-04-26 12:58:15", '1 minute, 45 seconds ago'),
array("2014-04-26 13:00:00", "2014-04-26 11:20:00", '1 hour, 40 minutes ago'),
array("2014-04-26 13:00:00", "2014-04-27 13:15:00", '1 day, 15 minutes from now'),
array("2014-04-26 13:00:00", "2014-05-26 17:00:00", '1 month, 4 hours from now'),
array("2014-04-26 13:00:00", "2014-05-03 15:00:00", '1 week, 2 hours from now'),
array("2014-04-26 13:00:00", "2015-04-28 17:00:00", '1 year, 1 week, 4 days, 4 hours from now'),
array("2014-04-26 13:00:00", "2014-04-28 23:00:00", '2 days, 10 hours from now'),
array("2014-04-26 13:00:00", "2014-04-25 11:20:00", '1 day, 1 hour, 40 minutes ago'),
array("2014-04-26 13:00:00", "2014-03-25 11:20:00", '1 month, 2 days, 40 minutes ago'),
array("2014-04-26 13:00:00", "2014-01-25 11:20:00", '3 months, 1 day, 40 minutes ago'),
);

foreach ($examples as $example) {
Expand Down

0 comments on commit f62ed58

Please sign in to comment.