r-lib / clock

A Date-Time Library for R
https://clock.r-lib.org
Other
97 stars 4 forks source link

Deprecate `date_zone()` and `date_set_zone()` #339

Closed DavisVaughan closed 1 year ago

DavisVaughan commented 1 year ago

Closes https://github.com/r-lib/clock/issues/326

In favor of date_time_zone() and date_time_set_zone().

These probably would have been the original names if I had realized that Date should be a naive-time type from the beginning, but originally I assumed it was UTC.