You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Ensure string representations match the standard library
Fixes#662
* Fix deepcopy of durations
Fixes#714
* Default to UTC if not local timezone can be found
Fixes#715
Issue
I have found out that
pendulum.DateTime
is not a drop-in replacement fordatetime.datetime
when we are talking about conversion to strings:Is there a reason why
pendulum.DateTime.__str__
is implemented in this way? Can it behave just likedatetime.datetime.__str__
?https://github.com/sdispater/pendulum/blob/7f6d069d8eee0b022dac276e7d6ef7545e78220e/pendulum/datetime.py#L441-L442
The text was updated successfully, but these errors were encountered: