mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-18 07:44:54 +00:00
bbf6d9b026
Bugfix for feeds - removed categories related and up - load new books now working - category random now working login page is free of non accessible elements boolean custom column is vivible in UI books with only with certain languages can be shown book shelfs can be deleted from UI Anonymous user view is more resticted Added browse of series in sidebar Dependencys in vendor folder are updated to newer versions (licencs files are now present) Bugfix editing Authors names Made upload on windows working
101 lines
2.0 KiB
Python
101 lines
2.0 KiB
Python
'''tzinfo timezone information for ROC.'''
|
|
from pytz.tzinfo import DstTzInfo
|
|
from pytz.tzinfo import memorized_datetime as d
|
|
from pytz.tzinfo import memorized_ttinfo as i
|
|
|
|
class ROC(DstTzInfo):
|
|
'''ROC timezone definition. See datetime.tzinfo for details'''
|
|
|
|
zone = 'ROC'
|
|
|
|
_utc_transition_times = [
|
|
d(1,1,1,0,0,0),
|
|
d(1945,4,30,16,0,0),
|
|
d(1945,9,30,15,0,0),
|
|
d(1946,4,30,16,0,0),
|
|
d(1946,9,30,15,0,0),
|
|
d(1947,4,30,16,0,0),
|
|
d(1947,9,30,15,0,0),
|
|
d(1948,4,30,16,0,0),
|
|
d(1948,9,30,15,0,0),
|
|
d(1949,4,30,16,0,0),
|
|
d(1949,9,30,15,0,0),
|
|
d(1950,4,30,16,0,0),
|
|
d(1950,9,30,15,0,0),
|
|
d(1951,4,30,16,0,0),
|
|
d(1951,9,30,15,0,0),
|
|
d(1952,2,29,16,0,0),
|
|
d(1952,10,31,15,0,0),
|
|
d(1953,3,31,16,0,0),
|
|
d(1953,10,31,15,0,0),
|
|
d(1954,3,31,16,0,0),
|
|
d(1954,10,31,15,0,0),
|
|
d(1955,3,31,16,0,0),
|
|
d(1955,9,30,15,0,0),
|
|
d(1956,3,31,16,0,0),
|
|
d(1956,9,30,15,0,0),
|
|
d(1957,3,31,16,0,0),
|
|
d(1957,9,30,15,0,0),
|
|
d(1958,3,31,16,0,0),
|
|
d(1958,9,30,15,0,0),
|
|
d(1959,3,31,16,0,0),
|
|
d(1959,9,30,15,0,0),
|
|
d(1960,5,31,16,0,0),
|
|
d(1960,9,30,15,0,0),
|
|
d(1961,5,31,16,0,0),
|
|
d(1961,9,30,15,0,0),
|
|
d(1974,3,31,16,0,0),
|
|
d(1974,9,30,15,0,0),
|
|
d(1975,3,31,16,0,0),
|
|
d(1975,9,30,15,0,0),
|
|
d(1980,6,29,16,0,0),
|
|
d(1980,9,29,15,0,0),
|
|
]
|
|
|
|
_transition_info = [
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
i(32400,3600,'CDT'),
|
|
i(28800,0,'CST'),
|
|
]
|
|
|
|
ROC = ROC()
|
|
|