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