Right now there is no simple way to get a timezone-aware time for the current
time in the current time zone [without resorting to outside libraries like
pytz], I would like to propose a simple extension to datetime.now to allow
returning an aware datetime object using a plain single-offset tzinf
On Sat, Jan 4, 2020, at 15:11, Random832 wrote:
> ...
I just discovered, in the course of trying to make a more fleshed-out
implementation, that the correct way to do this is
datetime.now().astimezone(None) - this isn't explained very well in the
documentation.
I did notice, though that a date