spencermountain / spacetime

A lightweight javascript timezone library
http://spacetime.how/
Other
3.97k stars 183 forks source link

Add feature to format milliseconds #283

Closed GaryXiongxiong closed 3 years ago

GaryXiongxiong commented 3 years ago

Add 'millisecond' and 'millisecond-pad' for format(), Add 'SSS' which means millisecond with pad for unixfmt()

spencermountain commented 3 years ago

thank you!

sarfata commented 3 years ago

This is great.

It should be added to the documentation too but I don't see a way to make a PR against the wiki.

A npm release would be amazing too!

spencermountain commented 3 years ago

released as v6.16.1 cheers