How to convert s = "2018-03-17T15:30:00.000Z"
to Paris local time?
I've seen solutions involving:
arrow:
import arrow print(arrow.get("2018-03-17T15:30:00.000Z").to('Europe/Paris').datetime)
but some posts mention it to be not maintained anymore
pendulum:
import pendulum print(pendulum.parse("2018-03-17T15:30:00.000Z"))
(seems faster than pytz)
pytz is often cited as a reference because it uses a popular timezone database (Olson timezone database?)
What is a production-ready way to convert UTC datetimes to local time, with a well maintained world timezone/DST database? (I learnt recently that these things change often at least in some places of the world)