mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-28 19:10:31 +00:00
25 lines
517 B
Python
25 lines
517 B
Python
|
'''tzinfo timezone information for Asia/Thimbu.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Thimbu(DstTzInfo):
|
||
|
'''Asia/Thimbu timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Asia/Thimbu'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1947,8,14,18,1,24),
|
||
|
d(1987,9,30,18,30,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(21540,0,'LMT'),
|
||
|
i(19800,0,'IST'),
|
||
|
i(21600,0,'BTT'),
|
||
|
]
|
||
|
|
||
|
Thimbu = Thimbu()
|
||
|
|