From 512699595c521badad82fa00a5101b80a5aeb538 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Sun, 26 Aug 2018 19:39:07 +0200 Subject: [PATCH] style: translated chinese comments (#265) * Translated chinese comments --- Gruntfile.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 70805e333..906ed2a13 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -92,13 +92,13 @@ module.exports = function(grunt) { date = new Date(); } var map = { - "M": date.getMonth() + 1, //月份 - "d": date.getDate(), //日 - "h": date.getHours(), //小时 - "m": date.getMinutes(), //分 - "s": date.getSeconds(), //秒 - "q": Math.floor((date.getMonth() + 3) / 3), //季度 - "S": date.getMilliseconds() //毫秒 + "M": date.getMonth() + 1, // Monat + "d": date.getDate(), // Tag + "h": date.getHours(), // Hour + "m": date.getMinutes(), // Minute + "s": date.getSeconds(), // Second + "q": Math.floor((date.getMonth() + 3) / 3), // Quarter + "S": date.getMilliseconds() // Millisecond }; format = format.replace(/([yMdhmsqS])(\1)*/g, function(all, t){ var v = map[t];