1
0
Fork 0
 
 
 
 
 
 
Go to file
Ambrose Chua 9b29d747ae
Initial commit to city data improvement (#1)
2020-10-31 01:34:49 +08:00
.github/workflows Add simplify fmt 2020-10-31 01:23:17 +08:00
css Improve build scripts 2020-10-31 00:32:53 +08:00
js Improve build scripts 2020-10-31 00:32:53 +08:00
scripts Initial commit to city data improvement (#1) 2020-10-31 01:34:49 +08:00
templates Improve build scripts 2020-10-31 00:32:53 +08:00
.gitignore Improve build scripts 2020-10-31 00:32:53 +08:00
LICENSE Create LICENSE 2020-09-27 14:03:34 +08:00
Makefile Add Action 2020-10-31 01:12:08 +08:00
README.md Remove old code for rewrite 2020-10-27 20:57:46 +08:00
go.mod Prototype interface design 2020-09-28 09:11:51 +08:00
main.go [Action] go fmt 2020-10-30 17:23:48 +00:00
mime.go Simpler interface, initial data scripts 2020-10-30 03:34:38 +08:00

README.md

WIP: datetime.link

Clean links to a point in time

Rationale

Sometimes, you want to refer to a point in time, but want to provide a timezone converter for them. datetime.link provides links to points in time and presents them in localtime. You can also optionally select which timezones to present the time in.

Compatibility

To achieve backwards compatibility and usability without JavaScript, the dates must be converted and rendered into pure HTML. This makes cURL a working target.

Progressive enhancement extends on the UI by providing a visual editor for timezones, dates and times that change the URL. This is done with JavaScript and native input elements. In the future custom input elements could replace the native ones.

Timezone Specifiers

tzdata

These are defined in the ICANN/IETF database. Examples:

  • Asia/Kolkata (India)
  • Asia/Singapore (Singapore)
  • America/Mexico_City (Mexico)
  • Asia/Saigon (Vietnam)
  • America/Los_Angeles (Pacific)

GeoNames

Sources:

  • cities15000.txt
  • countryInfo.txt