1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +00:00

Extend tiddler modification and creation dates to include milliseconds

Fixes #200
This commit is contained in:
Jeremy Ruston 2013-11-07 20:04:54 +00:00
parent 69888e6701
commit bfe3d3ee5a

View File

@ -238,7 +238,8 @@ $tw.utils.stringifyDate = function(value) {
$tw.utils.pad(value.getUTCMonth() + 1) +
$tw.utils.pad(value.getUTCDate()) +
$tw.utils.pad(value.getUTCHours()) +
$tw.utils.pad(value.getUTCMinutes());
$tw.utils.pad(value.getUTCMinutes()) +
$tw.utils.pad(value.getUTCMilliseconds(),3);
};
// Parse a date from a UTC YYYYMMDDHHMMSSMMM format string