From 48402ed3293ca034a950b77d501869c996ddf571 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 21 Sep 2013 10:06:44 +0100 Subject: [PATCH] Improve comments --- boot/boot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/boot.js b/boot/boot.js index 2d61d8ec0..fa8b98211 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -228,7 +228,7 @@ $tw.utils.pad = function(value,length) { return s; }; -// Convert a date into YYYYMMDDHHMM format +// Convert a date into UTC YYYYMMDDHHMM format $tw.utils.stringifyDate = function(value) { return value.getUTCFullYear() + $tw.utils.pad(value.getUTCMonth() + 1) + @@ -237,7 +237,7 @@ $tw.utils.stringifyDate = function(value) { $tw.utils.pad(value.getUTCMinutes()); }; -// Parse a date from a YYYYMMDDHHMMSSMMM format string +// Parse a date from a UTC YYYYMMDDHHMMSSMMM format string $tw.utils.parseDate = function(value) { if(typeof value === "string") { return new Date(Date.UTC(parseInt(value.substr(0,4),10),