Skip to content

mikebaldry/formatDate-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

A javascript extension to allow formatting of Date object like in Ruby's strftime.

Documentation http://www.ruby-doc.org/core/classes/Time.html#M000392

It's simple:
    new Date().format("%H:%M on %d/%m") returns "08:20 on 26/04"

About

Ruby date formatting in javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published