Closed flbulgarelli closed 3 years ago
To normalize the way we use dates, times and time zones in the code.
We have reviewed time-zone related code with @fedescarpa
To sum up:
.current
.now
Time.zone
Time
DateTime
in_time_zone
to_time
to_datetime
Depends on #226
This PR should be 100% backwards compatible.
:dart: Goal
To normalize the way we use dates, times and time zones in the code.
:memo: Details
We have reviewed time-zone related code with @fedescarpa
To sum up:
.current
over.now
, in order to properly deal with currentTime.zone
Time
overDateTime
just for consistencyin_time_zone
overto_time
andto_datetime
for the same reasons as item 1:warning: Dependencies
Depends on #226
:back: Backwards compatibility
This PR should be 100% backwards compatible.
:eyes: See also