ããã¾ã§æ¸ããå¾ã§ Date ã¯ã©ã¹ã®æã¤ã¡ã½ããã調ã¹ã¦ã¿ãã ( https://developer.mozilla.org/En/Core_JavaScript_1.5_Reference/Global_Objects/Date ) toLocaleString ã¨ã toUTCString ã¨ãæ®éã«ãã£ãã JavaScript ã® Date ã¯ãã£ãã親åã ãªãã ãã°ã°ã°ï½ :echo (new Date()).toLocaleFormat('%y/%m/%d %H:%M:%S')æ調ã¹ã¦ããããã®ã¯ç¡ãã£ã¦æã£ã¦ãããããªè¶£ã ä½ãè¦ã¤ãããããªè¨æ¶ããããããªæ°ããããã ãã©ã ãã£ãããªã®ã§ ã¼ãè©°ãã®éããã¼ã¸ã§ã³æ¸ãã let lz = function(s,n) String(Math.pow(10,n)+s).substring(1); f(4,4) // =>
{{#tags}}- {{label}}
{{/tags}}