From bfe3d3ee5a1a51de732325331f2e80e0cb5f914e Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 7 Nov 2013 20:04:54 +0000 Subject: [PATCH] Extend tiddler modification and creation dates to include milliseconds Fixes #200 --- boot/boot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boot/boot.js b/boot/boot.js index 119f4192b..2ff0398df 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -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