Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (51 sloc) 2.18 KB
{
"copyright_text": null,
"description": "Time zones are complicated, but they are a fact of engineering life.\nTime zones have `skipped entire\ndays <http://www.bbc.com/news/world-asia-16351377>`__ and repeated\nothers. There are time zones that switch to `DST twice per\nyear <https://www.timeanddate.com/time/zone/morocco/casablanca>`__. But\nnot necessarily every year. In Python it's even possible to create\ndatetimes with non-transitive equality (``a == b``, ``b == c``,\n``a != c``).\n\nIn this talk you'll learn about Python's time zone model and other\nconcepts critical to avoiding datetime troubles. Using ``dateutil`` and\n``pytz`` as examples, this talk covers how to deal with ambiguous and\nimaginary times, datetime arithmetic around a Daylight Savings Time\ntransition, and datetime's new ``fold`` attribute, introduced in Python\n3.6 (`PEP 495 <https://www.python.org/dev/peps/pep-0495/>`__).\n",
"duration": 1767,
"language": "eng",
"recorded": "2019-05-05T14:30:00",
"related_urls": [
{
"label": "Conference schedule",
"url": "https://us.pycon.org/2019/schedule/talks/"
},
{
"label": "https://www.python.org/dev/peps/pep-0495/",
"url": "https://www.python.org/dev/peps/pep-0495/"
},
{
"label": "http://www.bbc.com/news/world-asia-16351377",
"url": "http://www.bbc.com/news/world-asia-16351377"
},
{
"label": "Conference slides (speakerdeck)",
"url": "https://speakerdeck.com/pycon2019"
},
{
"label": "https://www.timeanddate.com/time/zone/morocco/casablanca",
"url": "https://www.timeanddate.com/time/zone/morocco/casablanca"
},
{
"label": "Conference slides (github)",
"url": "https://github.com/PyCon/2019-slides"
},
{
"label": "Talk schedule",
"url": "https://us.pycon.org/2019/schedule/presentation/191/"
}
],
"speakers": [
"Paul Ganssle"
],
"tags": [
"talk"
],
"thumbnail_url": "https://i.ytimg.com/vi/rz3D8VG_2TY/maxresdefault.jpg",
"title": "Working with Time Zones: Everything You Wish You Didn't Need to Know",
"videos": [
{
"type": "youtube",
"url": "https://www.youtube.com/watch?v=rz3D8VG_2TY"
}
]
}
You can’t perform that action at this time.