Catalog npm
PACKAGE EXPLORERView in registry

24hformat

npm

# hh-mm: time converting utility Build Status js-standard-style

"hours","times","convert","timeconvert"
Versions collected3
Direct dependencies0From release 1.0.2
Last observed20 Oct, 19:03 UTC

README

Current package documentation

timeConverter

hh-mm: time converting utility

Build Status js-standard-style

⌚️ Convert 12 hours time format to 24 hours.

var TimeFormat = require('timeConverter')

 # input = ['7:30 pm' , '6:30 PM'] // 7:30 PM  // [ '7:30 pm - 8:30 pm','6:00 pm - 7:00 pm']

TimeFormat(input)        

 # output = ['19:30 pm' , '18:30 PM'] // 19:30 PM  // [ '19:30 pm - 20:30 pm','18:00 pm - 19:00 pm']

Usage

Convert given 12 hours time formatted string or Array to 24 hours time

Parameters

time String representation format (optional) Default input format. If present, it will be used to resolve amiguities during interpretation. If not specified, time is implied. See section below for supported format list Convert given 12 h time formatted string to 24 h time.

Install

npm install 24hformat --save

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 3

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.2Registry latest20 May 20200
1.0.120 May 20200
1.0.020 May 20200

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:03 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:15048d1cd5aa1fafce8d585e19a1f5fee619e7ed8e9ac87ec897aa757b68daf4