js-timeformat

timeformat from milliseconds to a different format


Keywords
DrikaTux.time, DrikaTux.TimeFormat
License
MIT
Install
bower install js-timeformat

Documentation

JS-TIMEFORMAT

Formats timestamps in milliseconds to human readable format

Examples

var seconds = 3600*24+7200+360+59;
var formatter = new TimeFormat('%Y %m %d %h:%i:%s');
formatter.format(seconds);
//expected result
'0 0 1 02:06:59';

License

MIT

Versioning

This project follows SEMV rules

Installing

Bower

bower install js-countdown

Build

Requirements

Prepeare release

work in progress

Tests

ant test