Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improving `in_time_zone` docs [ci skip] | amitkumarsuroliya | 2015-09-13 | 1 | -2/+1 |
| | | | `DateTime.utc` is not a valid method. It gives `NoMethodError: undefined method `utc` for DateTime:Class`. As we know that we can calculate `utc` time from `Time` Class, but we can’t calculate `utc` time from `DateTime` Class. | ||||
* | Refactor Date, Time, DateTime timezone methods | Gilad Zohari | 2013-08-01 | 1 | -0/+41 |
Similar implementations of #in_time_zone exists for Date, Time and DateTime so method is extracted into its own module. Also some logic is extracted into private method. |