GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — node/tools/update-timezone.mjs at main · styfle/node Expand file tree/ Copy pathupdate-timezone.mjsMore file actions executable file ·26 lines (22 loc) · 945 Bytes / Copy pathupdate-timezone.mjsFile metadata and controlsexecutable file ·26 lines (22 loc) · 945 Bytes 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 #!/usr/bin/env node // Usage: tools/update-timezone.mjs import { execSync } from 'node:child_process'; import { renameSync, readdirSync, rmSync } from 'node:fs'; const fileNames = [ 'zoneinfo64.res', 'windowsZones.res', 'timezoneTypes.res', 'metaZones.res', ]; const availableVersions = readdirSync('icu-data/tzdata/icunew', { withFileTypes: true }) .filter((dirent) => dirent.isDirectory()) .map((dirent) => dirent.name); const latestVersion = availableVersions.sort().at(-1); execSync('bzip2 -d deps/icu-small/source/data/in/icudt*.dat.bz2'); fileNames.forEach((file) => { renameSync(`icu-data/tzdata/icunew/${latestVersion}/44/le/${file}`, `deps/icu-small/source/data/in/${file}`); execSync(`icupkg -a ${file} icudt*.dat`, { cwd: 'deps/icu-small/source/data/in/' }); rmSync(`deps/icu-small/source/data/in/${file}`); }); execSync('bzip2 -z deps/icu-small/source/data/in/icudt*.dat'); rmSync('icu-data', { recursive: true }); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |