3-5 July 2006
CERN, Geneva
Europe/Zurich timezone

Common mistakes you can make using pytz and datetime

3 Jul 2006, 17:10
30m
40-S2-A01 (CERN, Geneva)

40-S2-A01

CERN, Geneva

Python Language and Libraries Python Language and Libraries

Speaker

Ignas Mikalajūnas (Programmers of Vilnius)

Description

With pytz and datetime being included in the python2.4 distribution most people don't expect to have any trouble with using them. While they seem easy on the surface both of these libraries have a few gotchas that are very easy to encounter unless you really know them both. Working on a calendaring heavy web applications (SchoolTool/SchoolBell) I have encountered a lot of datetime related bugs myself. So I will try to demonstrate common mistakes made by developers and explain the right way of performing operations that are otherwise difficult to get right.

Primary author

Ignas Mikalajūnas (Programmers of Vilnius)

Presentation Materials

Your browser is out of date!

Update your browser to view this website correctly. Update my browser now

×