This commit is contained in:
James Campos 2011-06-08 10:04:17 -07:00
parent c29e0d4474
commit 56979eae9a
2 changed files with 2 additions and 1 deletions

View File

@ -1703,6 +1703,7 @@
case 'a':
case 'd':
case 'H':
case 'I':
case 'm':
case 'M':
case 'p':

View File

@ -1358,7 +1358,7 @@ time =
foo: ->
code = $.config('time').replace /%([A-Za-z])/g, (s, 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
time.funk = Function 'time', "return '#{code}'"