mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Extend tiddler modification and creation dates to include milliseconds
Fixes #200
This commit is contained in:
parent
69888e6701
commit
bfe3d3ee5a
@ -238,7 +238,8 @@ $tw.utils.stringifyDate = function(value) {
|
|||||||
$tw.utils.pad(value.getUTCMonth() + 1) +
|
$tw.utils.pad(value.getUTCMonth() + 1) +
|
||||||
$tw.utils.pad(value.getUTCDate()) +
|
$tw.utils.pad(value.getUTCDate()) +
|
||||||
$tw.utils.pad(value.getUTCHours()) +
|
$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
|
// Parse a date from a UTC YYYYMMDDHHMMSSMMM format string
|
||||||
|
Loading…
Reference in New Issue
Block a user