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
I have searched the issues of this repo and believe that this is not a duplicate.
OS version and name: n/a
Pendulum version: 2.1.2
Issue
The functions pendulum.now and DateTime.now are currently typed with
Optional[Union[str, _Timezone]]
However, the underlying _safe_timezone function also accepts int and float. (Though, it's type doesn't declare int, only float, that should be okay because of mypy's duck typing...)
Activity