Skip to content
RieryBuildPublic

About

Indonesian timezone converter (WIB / WITA / WIT) - tiny library + CLI, zero dependencies

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕗 wita-time

Node Dependencies License

Konversi zona waktu Indonesia — WIB (UTC+7) / WITA (UTC+8) / WIT (UTC+9) — tanpa library sama sekali. Cuma pakai Intl bawaan Node.

Kenapa? Karena jadwal online (mint NFT, event, meeting) sering diumumin pake zona yang beda-beda, dan ngitung manual selisih 1–2 jam itu sumber salah paham klasik.

CLI

# Jam berapa sekarang di WITA?
node index.js now WITA
# 2026-11-06 09:41:07 WITA

# Acara jam 19:00 WIB itu jam berapa WITA?
node index.js convert "2026-11-06 19:00" WIB WITA
# 2026-11-06 20:00 WITA

# Lihat jam sekarang di ketiga zona sekaligus
node index.js zones
# WIB   2026-11-06 08:41:07
# WITA  2026-11-06 09:41:07
# WIT   2026-11-06 10:41:07

Library

const wt = require('./index.js');

wt.convert('2026-11-06 19:00', 'WIB', 'WITA'); // '2026-11-06 20:00 WITA'
wt.nowIn('WIT');                               // jam sekarang di WIT
wt.parseWall('2026-11-06 19:00', 'WITA');      // -> Date absolut

Test

npm test

Lisensi

MIT

About

Indonesian timezone converter (WIB / WITA / WIT) - tiny library + CLI, zero dependencies

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages