1
0
Fork 0
 
 
 
 
 
 
Go to file
Ambrose Chua f61a33d681 Increase back population threshold, add population figure 2020-11-07 22:52:36 +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 Increase back population threshold, add population figure 2020-11-07 22:52:36 +08:00
templates Prototype data 2020-11-04 03:28:22 +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 Increase back population threshold, add population figure 2020-11-07 22:52:36 +08:00
README.md Remove old code for rewrite 2020-10-27 20:57:46 +08:00
go.mod Cleanup data with some edit distance tweaks 2020-11-07 21:23:31 +08:00
go.sum Cleanup data with some edit distance tweaks 2020-11-07 21:23:31 +08:00
main.go Prototype data 2020-11-04 03:28:22 +08:00
mime.go Prototype data 2020-11-04 03:28:22 +08:00
mime_test.go Prototype data 2020-11-04 03:28:22 +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