indonesia-utcoffset

0.0.3 • Public • Published

indonesia UTC Offsets JS

npm Build Status Coverage Status

forSelectOptions

IndoUtcOffset.forSelectOptions =>
[
  { value: '+07:00', label: '+07:00 / WIB' },
  { value: '+08:00', label: '+08:00 / WIT' },
  { value: '+09:00', label: '+09:00 / WITA' }
]

offset2label

✓ offset2label(+07:00) => +07:00 / WIB
✓ offset2label(+08:00) => +08:00 / WIT
✓ offset2label(+09:00) => +09:00 / WITA

offset2shortLabel

✓ offset2shortLabel(+07:00) => +07:00 / WIB
✓ offset2shortLabel(+08:00) => +08:00 / WIT
✓ offset2shortLabel(+09:00) => +09:00 / WITA

Installation

To install just use yarn or npm. Example: yarn add indonesia-utcoffset

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i indonesia-utcoffset

Weekly Downloads

4

Version

0.0.3

License

MIT

Unpacked Size

4.51 kB

Total Files

4

Last publish

Collaborators

  • xprycker