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
from datetime import datetime
from pytz import timezone
print(datetime.strptime("2023-03-21T09:05:46.807Z", "%Y-%m-%dT%H:%M:%S.%fZ").replace(tzinfo=timezone("Africa/Cairo")))
it prints 2023-03-21 09:05:46.807000+02:05. with egypt offset as +02:05 but it should have been +02:00
The text was updated successfully, but these errors were encountered:
hello
when i run the following code
it prints
2023-03-21 09:05:46.807000+02:05
. with egypt offset as +02:05 but it should have been +02:00The text was updated successfully, but these errors were encountered: