Skip to content

SETTER2000/date-ru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

date-ru

A small module for converting a date and presenting it in a format customary for Russia

How to use?

Install the module:

npm install date-ru

Using:

var DateRu = require('./date-ru');

var date = new Date();

var tpl = "%d.%m.%y %H:%M:%S";

var dateRu = new DateRu(date, tpl);

//The current date

console.log(dateRu.localFormat());

About

A small module for converting a date and presenting it in a format customary for Russia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published