diff --git a/core/modules/utils/utils.js b/core/modules/utils/utils.js index 316797337..ac9f273e1 100644 --- a/core/modules/utils/utils.js +++ b/core/modules/utils/utils.js @@ -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());