babel.localtime package

Module contents

babel.localtime

Babel specific fork of tzlocal to determine the local timezone of the system.

copyright:
  1. 2013 by the Babel Team.
license:

BSD, see LICENSE for more details.

babel.localtime.get_localzone()[source]

Returns the current underlying local timezone object. Generally this function does not need to be used, it’s a better idea to use the LOCALTZ singleton instead.