%I again
This commit is contained in:
parent
c29e0d4474
commit
56979eae9a
@ -1703,6 +1703,7 @@
|
|||||||
case 'a':
|
case 'a':
|
||||||
case 'd':
|
case 'd':
|
||||||
case 'H':
|
case 'H':
|
||||||
|
case 'I':
|
||||||
case 'm':
|
case 'm':
|
||||||
case 'M':
|
case 'M':
|
||||||
case 'p':
|
case 'p':
|
||||||
|
|||||||
@ -1358,7 +1358,7 @@ time =
|
|||||||
foo: ->
|
foo: ->
|
||||||
code = $.config('time').replace /%([A-Za-z])/g, (s, c) ->
|
code = $.config('time').replace /%([A-Za-z])/g, (s, c) ->
|
||||||
switch c
|
switch c
|
||||||
when 'a', 'd', 'H', 'm', 'M', 'p', 'P', 'y' then "' + time.#{c}() + '"
|
when 'a', 'd', 'H', 'I', 'm', 'M', 'p', 'P', '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