This commit is contained in:
James Campos 2011-06-05 17:08:18 -07:00
parent 3b537a83bf
commit db2c8bb6fb
2 changed files with 2 additions and 1 deletions

View File

@ -1671,6 +1671,7 @@
case 'A':
case 'D':
case 'H':
case 'a':
case 'd':
case 'i':
case 'm':

View File

@ -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}'"