The following code print 2022-01-01 05:30:00-04:56
. What's -04:56
?
import pytz, datetime
tz = pytz.timezone("America/New_York")
t = datetime.datetime(2022, 1,1, 5, 30)
u = t.replace(tzinfo=tz)
print(u)
2022-01-01 05:30:00-04:56
In jupyter, u
has the value of datetime.datetime(2022, 1, 1, 5, 30, tzinfo=<DstTzInfo 'America/New_York' LMT-1 day, 19:04:00 STD>)
. What's DstTzInfo? And what's 19:04:00 STD?