Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #687 from atambo/time_coerce_to_int
Time methods should coerce the day, hour, minute, or second with #to_int
- Loading branch information
Showing
10 changed files
with
7 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
fails:Time.local creates a time based on given values, interpreted in the local time zone | ||
fails:Time.local respects rare old timezones | ||
fails:Time.local creates a time based on given C-style gmtime arguments, interpreted in the local time zone | ||
fails:Time.local coerces the day with #to_int | ||
fails:Time.local coerces the hour with #to_int | ||
fails:Time.local coerces the minute with #to_int | ||
fails:Time.local coerces the second with #to_int | ||
fails:Time.local creates the correct time just before dst change | ||
fails:Time.local creates the correct time just after dst change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
fails:Time.mktime creates a time based on given values, interpreted in the local time zone | ||
fails:Time.mktime respects rare old timezones | ||
fails:Time.mktime creates a time based on given C-style gmtime arguments, interpreted in the local time zone | ||
fails:Time.mktime coerces the day with #to_int | ||
fails:Time.mktime coerces the hour with #to_int | ||
fails:Time.mktime coerces the minute with #to_int | ||
fails:Time.mktime coerces the second with #to_int | ||
fails:Time.mktime creates the correct time just before dst change | ||
fails:Time.mktime creates the correct time just after dst change |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
fails:Time.local creates a time based on given values, interpreted in the local time zone | ||
fails:Time.local respects rare old timezones | ||
fails:Time.local creates a time based on given C-style gmtime arguments, interpreted in the local time zone | ||
fails:Time.local coerces the day with #to_int | ||
fails:Time.local coerces the hour with #to_int | ||
fails:Time.local coerces the minute with #to_int | ||
fails:Time.local coerces the second with #to_int | ||
fails:Time.local creates the correct time just before dst change | ||
fails:Time.local creates the correct time just after dst change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
fails:Time.mktime creates a time based on given values, interpreted in the local time zone | ||
fails:Time.mktime respects rare old timezones | ||
fails:Time.mktime creates a time based on given C-style gmtime arguments, interpreted in the local time zone | ||
fails:Time.mktime coerces the day with #to_int | ||
fails:Time.mktime coerces the hour with #to_int | ||
fails:Time.mktime coerces the minute with #to_int | ||
fails:Time.mktime coerces the second with #to_int | ||
fails:Time.mktime creates the correct time just before dst change | ||
fails:Time.mktime creates the correct time just after dst change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters