about summary refs log tree commit diff
path: root/content/cal/_index.html
blob: 1d078d630dc7767b9450efcf0a57636b445b7de7 (plain) (blame)
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
---
title: Calendar
disable_feed: true
---

<div id="lunar-solar-cal">
	<noscript>
		This calendar works locally in your browser and requires JavaScript to remain serverless
	</noscript>
	<div>
		<label>
			Solar date:
			<input id="solar-date" type="date" />
		</label>
		<label>
			Timezone offset:
			<select id="timezone-offset">
				<option value=7>UTC+7 (Vietnam)</option>
				<option value=8>UTC+8 (China)</option>
				<option value=9>UTC+9 (Japan/Korea)</option>
			</select>
		</label>
	</div>
	<div id="solar-cal">
		<div id="solar-year"></div>
		<div id="solar-month"></div>
		<div id="solar-day"></div>
		<div id="solar-weekday"></div>
	</div>
	<div id="lunar-cal">
		<div id="lunar-year"></div>
		<div id="lunar-month"></div>
		<div id="lunar-day"></div>
	</div>
</div>
<script src="lunar.js">
</script>