1.2.2 • Published 4 years ago

js-date-to-string v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Introduction

A small and lightweight library for calculating elapsed time in JavaScript.

Installation

npm i js-date-to-string

Usage

// current date is 2022-07-27 1:30:00
const someDate = new Date('2022-07-27T02:00:00');
const dateToString = jsDateToString(someDate);

console.log(dateToString); // expected result => 30m
1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago