Skip to content

Abomb777/timezone-cast

Repository files navigation

timezone-cast

This package allows to cast from TZ windows timezone to TZ unix timezone

Example

const casttz = require('timezone-cast');

console.log(casttz.toUnix('BG'));
//Europe/London
console.log(casttz.toUnix('Europe/London'));
//Europe/London
console.log(casttz.toUnix('GMT Standard Time'));
//Europe/London

console.log(casttz.toWindows('BG'));  
//GMT Standard Time
console.log(casttz.toWindows('Europe/London'));
//GMT Standard Time
console.log(casttz.toWindows('GMT Standard Time'));
//GMT Standard Time

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published