uhr
v0.0.4
Published
[![travis build](https://img.shields.io/travis/distalx/uhr.svg?style=flat-square)](https://travis-ci.org/distalx/uhr) [![codecov coverage](https://img.shields.io/codecov/c/github/distalx/uhr.svg?style=flat-square)](https://codecov.io/github/distalx/uhr) [
Downloads
12
Readme
uhr
Installation
This package is distributed via npm:
npm install uhr
Usage
const UHR = require('uhr');
flag = 1 // local to UTC
flag = -1 // UTC to local
day = Number //0 to 6, Mon To Sun
hour = Number // 0 to 23
minute = Number // 0 to 60
let result = UHR(day, hour, minute, flag)
consloe.log(result) // { day:Number, hour:Number, minute:Number }