paris dst

node v18.11.0
version: master
endpointsharetweet
const spacetime=require('spacetime') let dst = spacetime('2023-03-25', 'Europe/Paris') for (let i = 0; i < 4; i++) { dst = dst.add(1, 'days') dst = dst.time('1:59AM') console.log(dst.format('nice') + ' (' + dst.isDST() + ')') dst = dst.time('2:01AM') console.log(dst.format('nice') + ' (' + dst.isDST() + ')') dst = dst.time('3:01AM') console.log(dst.format('nice') + ' (' + dst.isDST() + ')') }
Loading…

no comments

    sign in to comment