%a
This commit is contained in:
parent
3b537a83bf
commit
db2c8bb6fb
@ -1671,6 +1671,7 @@
|
|||||||
case 'A':
|
case 'A':
|
||||||
case 'D':
|
case 'D':
|
||||||
case 'H':
|
case 'H':
|
||||||
|
case 'a':
|
||||||
case 'd':
|
case 'd':
|
||||||
case 'i':
|
case 'i':
|
||||||
case 'm':
|
case 'm':
|
||||||
|
|||||||
@ -1317,7 +1317,7 @@ time =
|
|||||||
code = format.replace /%(.)/g, (s, c) ->
|
code = format.replace /%(.)/g, (s, c) ->
|
||||||
switch c
|
switch c
|
||||||
when '%' then '%'
|
when '%' then '%'
|
||||||
when 'A', 'D', 'H', 'd', 'i', 'm', 'y' then "' + time.#{c}() + '"
|
when 'A', 'D', 'H', 'a', 'd', 'i', 'm', 'y' then "' + time.#{c}() + '"
|
||||||
else s
|
else s
|
||||||
time.funk = Function 'time', "return '#{code}'"
|
time.funk = Function 'time', "return '#{code}'"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user