forked from AMDmi3/opening_hours.js
-
Notifications
You must be signed in to change notification settings - Fork 121
/
au.yaml
143 lines (133 loc) · 7.75 KB
/
au.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-35.2809&lon=149.1300&zoom=16&addressdetails=1&accept-language=en'
# https://en.wikipedia.org/wiki/Public_holidays_in_Australia
# Partial holidays excluded
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}
'Australian Capital Territory':
_state_code: act
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-35.2809&lon=149.1300&zoom=16&addressdetails=1&accept-language=en'
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Canberra Day', 'variable_date': firstMarchMonday, 'offset': 7}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Saturday', 'variable_date': easter, 'offset': -1}
- {'name': 'Easter Sunday', 'variable_date': easter}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
# Reconciliation day is recently new https://www.cmtedd.act.gov.au/open_government/inform/act_government_media_releases/rachel-stephen-smith-mla-media-releases/2017/reconciliation-day-public-holiday-an-australian-first
- {'name': 'Reconciliation Day', 'variable_date': lastMayMonday}
- {'name': 'Queens Birthday', 'variable_date': firstJuneMonday, 'offset': 7}
- {'name': 'Family and Community Day', 'variable_date': lastSeptemberMonday}
- {'name': 'Labour Day', 'variable_date': firstOctoberMonday}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}
'New South Wales':
_state_code: nsw
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-33.8688&lon=151.2093&zoom=16&addressdetails=1&accept-language=en'
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Saturday', 'variable_date': easter, 'offset': -1}
- {'name': 'Easter Sunday', 'variable_date': easter}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'Queens Birthday', 'variable_date': firstJuneMonday, 'offset': 7}
- {'name': 'Labour Day', 'variable_date': firstOctoberMonday}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}
'Northern Territory':
_state_code: nt
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-12.4634&lon=130.8456&zoom=16&addressdetails=1&accept-language=en'
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Saturday', 'variable_date': easter, 'offset': -1}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'May Day', 'variable_date': firstMayMonday}
- {'name': 'Queens Birthday', 'variable_date': firstJuneMonday, 'offset': 7}
- {'name': 'Picnic Day', 'variable_date': firstAugustMonday}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}
Queensland:
_state_code: qld
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-27.4698&lon=153.0251&zoom=16&addressdetails=1&accept-language=en'
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Saturday', 'variable_date': easter, 'offset': -1}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'Labour Day', 'variable_date': firstMayMonday}
- {'name': 'Queens Birthday', 'variable_date': firstOctoberMonday}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}
'South Australia':
_state_code: sa
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-34.9285&lon=138.6007&zoom=16&addressdetails=1&accept-language=en'
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Adelaide Cup', 'variable_date': firstMarchMonday, 'offset': 7}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Saturday', 'variable_date': easter, 'offset': -1}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'Queens Birthday', 'variable_date': firstJuneMonday, 'offset': 7}
- {'name': 'Labour Day', 'variable_date': firstOctoberMonday}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}
Tasmania:
_state_code: tas
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-42.8821&lon=147.3272&zoom=16&addressdetails=1&accept-language=en'
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Eight Hours Day', 'variable_date': firstMarchMonday, 'offset': 7}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'Queens Birthday', 'variable_date': firstJuneMonday, 'offset': 7}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}
Victoria:
_state_code: vic
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-37.8136&lon=144.9631&zoom=16&addressdetails=1&accept-language=en'
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Labour Day', 'variable_date': firstMarchMonday, 'offset': 7}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Saturday', 'variable_date': easter, 'offset': -1}
- {'name': 'Easter Sunday', 'variable_date': easter}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'Queens Birthday', 'variable_date': firstJuneMonday, 'offset': 7}
- {'name': 'AFL Grand Final', 'variable_date': lastSeptemberFriday}
- {'name': 'Melbourne Cup', 'variable_date': firstNovemberTuesday}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}
'Western Australia':
_state_code: wa
_nominatim_url: 'https://nominatim.openstreetmap.org/reverse?format=json&lat=-31.9505&lon=115.8605&zoom=16&addressdetails=1&accept-language=en'
PH:
- {'name': 'New Years Day', 'fixed_date': [1, 1]}
- {'name': 'Australia Day', 'fixed_date': [1, 26]}
- {'name': 'Labour Day', 'variable_date': firstMarchMonday}
- {'name': 'Good Friday', 'variable_date': easter, 'offset': -2}
- {'name': 'Easter Monday', 'variable_date': easter, 'offset': 1}
- {'name': 'ANZAC Day', 'fixed_date': [4, 25]}
- {'name': 'Western Australia Day', 'variable_date': firstJuneMonday}
- {'name': 'Christmas Day', 'fixed_date': [12, 25]}
- {'name': 'Boxing Day', 'fixed_date': [12, 26]}