Skip to content

Instantly share code, notes, and snippets.

View stillio-support's full-sized avatar

Stillio stillio-support

View GitHub Profile
// Example offsets (please take DST into account!):
// -8 = America, Los Angeles
// -5 = America, New York
// +1 = Europe, Amsterdam
// +8 = Australia, Perth
// +9.5 = Australia, Darwin
const timeZoneOffset = +1;
const makeSlug = function (text) {