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
496 lines
10 KiB
Python
496 lines
10 KiB
Python
'''tzinfo timezone information for Canada/Newfoundland.'''
|
|
from pytz.tzinfo import DstTzInfo
|
|
from pytz.tzinfo import memorized_datetime as d
|
|
from pytz.tzinfo import memorized_ttinfo as i
|
|
|
|
class Newfoundland(DstTzInfo):
|
|
'''Canada/Newfoundland timezone definition. See datetime.tzinfo for details'''
|
|
|
|
zone = 'Canada/Newfoundland'
|
|
|
|
_utc_transition_times = [
|
|
d(1,1,1,0,0,0),
|
|
d(1917,4,8,5,30,52),
|
|
d(1917,9,17,4,30,52),
|
|
d(1918,4,14,5,30,52),
|
|
d(1918,10,31,4,30,52),
|
|
d(1919,5,6,2,30,52),
|
|
d(1919,8,13,1,30,52),
|
|
d(1920,5,3,2,30,52),
|
|
d(1920,11,1,1,30,52),
|
|
d(1921,5,2,2,30,52),
|
|
d(1921,10,31,1,30,52),
|
|
d(1922,5,8,2,30,52),
|
|
d(1922,10,30,1,30,52),
|
|
d(1923,5,7,2,30,52),
|
|
d(1923,10,29,1,30,52),
|
|
d(1924,5,5,2,30,52),
|
|
d(1924,10,27,1,30,52),
|
|
d(1925,5,4,2,30,52),
|
|
d(1925,10,26,1,30,52),
|
|
d(1926,5,3,2,30,52),
|
|
d(1926,11,1,1,30,52),
|
|
d(1927,5,2,2,30,52),
|
|
d(1927,10,31,1,30,52),
|
|
d(1928,5,7,2,30,52),
|
|
d(1928,10,29,1,30,52),
|
|
d(1929,5,6,2,30,52),
|
|
d(1929,10,28,1,30,52),
|
|
d(1930,5,5,2,30,52),
|
|
d(1930,10,27,1,30,52),
|
|
d(1931,5,4,2,30,52),
|
|
d(1931,10,26,1,30,52),
|
|
d(1932,5,2,2,30,52),
|
|
d(1932,10,31,1,30,52),
|
|
d(1933,5,8,2,30,52),
|
|
d(1933,10,30,1,30,52),
|
|
d(1934,5,7,2,30,52),
|
|
d(1934,10,29,1,30,52),
|
|
d(1935,3,30,3,30,52),
|
|
d(1935,5,6,2,30,0),
|
|
d(1935,10,28,1,30,0),
|
|
d(1936,5,11,3,30,0),
|
|
d(1936,10,5,2,30,0),
|
|
d(1937,5,10,3,30,0),
|
|
d(1937,10,4,2,30,0),
|
|
d(1938,5,9,3,30,0),
|
|
d(1938,10,3,2,30,0),
|
|
d(1939,5,15,3,30,0),
|
|
d(1939,10,2,2,30,0),
|
|
d(1940,5,13,3,30,0),
|
|
d(1940,10,7,2,30,0),
|
|
d(1941,5,12,3,30,0),
|
|
d(1941,10,6,2,30,0),
|
|
d(1942,5,11,3,30,0),
|
|
d(1945,8,14,23,0,0),
|
|
d(1945,9,30,4,30,0),
|
|
d(1946,5,12,5,30,0),
|
|
d(1946,10,6,4,30,0),
|
|
d(1947,5,11,5,30,0),
|
|
d(1947,10,5,4,30,0),
|
|
d(1948,5,9,5,30,0),
|
|
d(1948,10,3,4,30,0),
|
|
d(1949,5,8,5,30,0),
|
|
d(1949,10,2,4,30,0),
|
|
d(1950,5,14,5,30,0),
|
|
d(1950,10,8,4,30,0),
|
|
d(1951,4,29,5,30,0),
|
|
d(1951,9,30,4,30,0),
|
|
d(1952,4,27,5,30,0),
|
|
d(1952,9,28,4,30,0),
|
|
d(1953,4,26,5,30,0),
|
|
d(1953,9,27,4,30,0),
|
|
d(1954,4,25,5,30,0),
|
|
d(1954,9,26,4,30,0),
|
|
d(1955,4,24,5,30,0),
|
|
d(1955,9,25,4,30,0),
|
|
d(1956,4,29,5,30,0),
|
|
d(1956,9,30,4,30,0),
|
|
d(1957,4,28,5,30,0),
|
|
d(1957,9,29,4,30,0),
|
|
d(1958,4,27,5,30,0),
|
|
d(1958,9,28,4,30,0),
|
|
d(1959,4,26,5,30,0),
|
|
d(1959,9,27,4,30,0),
|
|
d(1960,4,24,5,30,0),
|
|
d(1960,10,30,4,30,0),
|
|
d(1961,4,30,5,30,0),
|
|
d(1961,10,29,4,30,0),
|
|
d(1962,4,29,5,30,0),
|
|
d(1962,10,28,4,30,0),
|
|
d(1963,4,28,5,30,0),
|
|
d(1963,10,27,4,30,0),
|
|
d(1964,4,26,5,30,0),
|
|
d(1964,10,25,4,30,0),
|
|
d(1965,4,25,5,30,0),
|
|
d(1965,10,31,4,30,0),
|
|
d(1966,4,24,5,30,0),
|
|
d(1966,10,30,4,30,0),
|
|
d(1967,4,30,5,30,0),
|
|
d(1967,10,29,4,30,0),
|
|
d(1968,4,28,5,30,0),
|
|
d(1968,10,27,4,30,0),
|
|
d(1969,4,27,5,30,0),
|
|
d(1969,10,26,4,30,0),
|
|
d(1970,4,26,5,30,0),
|
|
d(1970,10,25,4,30,0),
|
|
d(1971,4,25,5,30,0),
|
|
d(1971,10,31,4,30,0),
|
|
d(1972,4,30,5,30,0),
|
|
d(1972,10,29,4,30,0),
|
|
d(1973,4,29,5,30,0),
|
|
d(1973,10,28,4,30,0),
|
|
d(1974,4,28,5,30,0),
|
|
d(1974,10,27,4,30,0),
|
|
d(1975,4,27,5,30,0),
|
|
d(1975,10,26,4,30,0),
|
|
d(1976,4,25,5,30,0),
|
|
d(1976,10,31,4,30,0),
|
|
d(1977,4,24,5,30,0),
|
|
d(1977,10,30,4,30,0),
|
|
d(1978,4,30,5,30,0),
|
|
d(1978,10,29,4,30,0),
|
|
d(1979,4,29,5,30,0),
|
|
d(1979,10,28,4,30,0),
|
|
d(1980,4,27,5,30,0),
|
|
d(1980,10,26,4,30,0),
|
|
d(1981,4,26,5,30,0),
|
|
d(1981,10,25,4,30,0),
|
|
d(1982,4,25,5,30,0),
|
|
d(1982,10,31,4,30,0),
|
|
d(1983,4,24,5,30,0),
|
|
d(1983,10,30,4,30,0),
|
|
d(1984,4,29,5,30,0),
|
|
d(1984,10,28,4,30,0),
|
|
d(1985,4,28,5,30,0),
|
|
d(1985,10,27,4,30,0),
|
|
d(1986,4,27,5,30,0),
|
|
d(1986,10,26,4,30,0),
|
|
d(1987,4,5,3,31,0),
|
|
d(1987,10,25,2,31,0),
|
|
d(1988,4,3,3,31,0),
|
|
d(1988,10,30,1,31,0),
|
|
d(1989,4,2,3,31,0),
|
|
d(1989,10,29,2,31,0),
|
|
d(1990,4,1,3,31,0),
|
|
d(1990,10,28,2,31,0),
|
|
d(1991,4,7,3,31,0),
|
|
d(1991,10,27,2,31,0),
|
|
d(1992,4,5,3,31,0),
|
|
d(1992,10,25,2,31,0),
|
|
d(1993,4,4,3,31,0),
|
|
d(1993,10,31,2,31,0),
|
|
d(1994,4,3,3,31,0),
|
|
d(1994,10,30,2,31,0),
|
|
d(1995,4,2,3,31,0),
|
|
d(1995,10,29,2,31,0),
|
|
d(1996,4,7,3,31,0),
|
|
d(1996,10,27,2,31,0),
|
|
d(1997,4,6,3,31,0),
|
|
d(1997,10,26,2,31,0),
|
|
d(1998,4,5,3,31,0),
|
|
d(1998,10,25,2,31,0),
|
|
d(1999,4,4,3,31,0),
|
|
d(1999,10,31,2,31,0),
|
|
d(2000,4,2,3,31,0),
|
|
d(2000,10,29,2,31,0),
|
|
d(2001,4,1,3,31,0),
|
|
d(2001,10,28,2,31,0),
|
|
d(2002,4,7,3,31,0),
|
|
d(2002,10,27,2,31,0),
|
|
d(2003,4,6,3,31,0),
|
|
d(2003,10,26,2,31,0),
|
|
d(2004,4,4,3,31,0),
|
|
d(2004,10,31,2,31,0),
|
|
d(2005,4,3,3,31,0),
|
|
d(2005,10,30,2,31,0),
|
|
d(2006,4,2,3,31,0),
|
|
d(2006,10,29,2,31,0),
|
|
d(2007,3,11,3,31,0),
|
|
d(2007,11,4,2,31,0),
|
|
d(2008,3,9,3,31,0),
|
|
d(2008,11,2,2,31,0),
|
|
d(2009,3,8,3,31,0),
|
|
d(2009,11,1,2,31,0),
|
|
d(2010,3,14,3,31,0),
|
|
d(2010,11,7,2,31,0),
|
|
d(2011,3,13,3,31,0),
|
|
d(2011,11,6,2,31,0),
|
|
d(2012,3,11,3,31,0),
|
|
d(2012,11,4,2,31,0),
|
|
d(2013,3,10,3,31,0),
|
|
d(2013,11,3,2,31,0),
|
|
d(2014,3,9,3,31,0),
|
|
d(2014,11,2,2,31,0),
|
|
d(2015,3,8,3,31,0),
|
|
d(2015,11,1,2,31,0),
|
|
d(2016,3,13,3,31,0),
|
|
d(2016,11,6,2,31,0),
|
|
d(2017,3,12,3,31,0),
|
|
d(2017,11,5,2,31,0),
|
|
d(2018,3,11,3,31,0),
|
|
d(2018,11,4,2,31,0),
|
|
d(2019,3,10,3,31,0),
|
|
d(2019,11,3,2,31,0),
|
|
d(2020,3,8,3,31,0),
|
|
d(2020,11,1,2,31,0),
|
|
d(2021,3,14,3,31,0),
|
|
d(2021,11,7,2,31,0),
|
|
d(2022,3,13,3,31,0),
|
|
d(2022,11,6,2,31,0),
|
|
d(2023,3,12,3,31,0),
|
|
d(2023,11,5,2,31,0),
|
|
d(2024,3,10,3,31,0),
|
|
d(2024,11,3,2,31,0),
|
|
d(2025,3,9,3,31,0),
|
|
d(2025,11,2,2,31,0),
|
|
d(2026,3,8,3,31,0),
|
|
d(2026,11,1,2,31,0),
|
|
d(2027,3,14,3,31,0),
|
|
d(2027,11,7,2,31,0),
|
|
d(2028,3,12,3,31,0),
|
|
d(2028,11,5,2,31,0),
|
|
d(2029,3,11,3,31,0),
|
|
d(2029,11,4,2,31,0),
|
|
d(2030,3,10,3,31,0),
|
|
d(2030,11,3,2,31,0),
|
|
d(2031,3,9,3,31,0),
|
|
d(2031,11,2,2,31,0),
|
|
d(2032,3,14,3,31,0),
|
|
d(2032,11,7,2,31,0),
|
|
d(2033,3,13,3,31,0),
|
|
d(2033,11,6,2,31,0),
|
|
d(2034,3,12,3,31,0),
|
|
d(2034,11,5,2,31,0),
|
|
d(2035,3,11,3,31,0),
|
|
d(2035,11,4,2,31,0),
|
|
d(2036,3,9,3,31,0),
|
|
d(2036,11,2,2,31,0),
|
|
d(2037,3,8,3,31,0),
|
|
d(2037,11,1,2,31,0),
|
|
]
|
|
|
|
_transition_info = [
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-9060,3600,'NDT'),
|
|
i(-12660,0,'NST'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NWT'),
|
|
i(-9000,3600,'NPT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-5400,7200,'NDDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
i(-9000,3600,'NDT'),
|
|
i(-12600,0,'NST'),
|
|
]
|
|
|
|
Newfoundland = Newfoundland()
|
|
|