13 lines
355 B
Python
13 lines
355 B
Python
|
'''tzinfo timezone information for Universal.'''
|
||
|
from pytz.tzinfo import StaticTzInfo
|
||
|
from pytz.tzinfo import memorized_timedelta as timedelta
|
||
|
|
||
|
class Universal(StaticTzInfo):
|
||
|
'''Universal timezone definition. See datetime.tzinfo for details'''
|
||
|
zone = 'Universal'
|
||
|
_utcoffset = timedelta(seconds=0)
|
||
|
_tzname = 'UTC'
|
||
|
|
||
|
Universal = Universal()
|
||
|
|