Giter Club home page Giter Club logo

12-from-to-24-hours's Introduction

12 From To 24 Hours

Build Status

Coverage 100%

Easy and tiny way to switch between 24 and 12 hours systems.

Installation

# npm
$ npm install 12fromto24hours
# yarn
$ yarn add 12fromto24hours

Usage

The method of use is simple and very easy. Just follow these steps:

const _12FromTo24Hours = require("12fromto24hours");

// From 12 to 24 ..
_12FromTo24Hours("8:00 PM"); // 20:00

// From 24 to 12 ..
_12FromTo24Hours("20:00"); // 8:00 PM

License

MIT © Imed Jaberi

12-from-to-24-hours's People

Contributors

3imed-jaberi avatar

Stargazers

 avatar

Watchers

 avatar

12-from-to-24-hours's Issues

Error while debbuging

(node:11104) UnhandledPromiseRejectionWarning: TypeError: _12FromTo24Hours is not a function
at h:\Kira-Bot\Test\index.js:600:1
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.