mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-06 02:30:46 -08:00
Fix bug with millisecond 0XXX date format
This commit is contained in:
parent
e4eaae14fa
commit
cd8ab13b55
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ exports.formatDateString = function(date,template) {
|
|||
return $tw.utils.pad(date.getSeconds());
|
||||
}],
|
||||
[/^0XXX/, function() {
|
||||
return $tw.utils.pad(date.getMilliseconds());
|
||||
return $tw.utils.pad(date.getMilliseconds(),4);
|
||||
}],
|
||||
[/^0DD/, function() {
|
||||
return $tw.utils.pad(date.getDate());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue