mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Correct fix for bug with millisecond 0XXX date format
Milliseconds need 3 digits, not 4...
This commit is contained in:
parent
cd8ab13b55
commit
8f3da69f81
@ -280,7 +280,7 @@ exports.formatDateString = function(date,template) {
|
||||
return $tw.utils.pad(date.getSeconds());
|
||||
}],
|
||||
[/^0XXX/, function() {
|
||||
return $tw.utils.pad(date.getMilliseconds(),4);
|
||||
return $tw.utils.pad(date.getMilliseconds(),3);
|
||||
}],
|
||||
[/^0DD/, function() {
|
||||
return $tw.utils.pad(date.getDate());
|
||||
|
Loading…
Reference in New Issue
Block a user