derp, %e %k %l

This commit is contained in:
James Campos 2011-08-02 09:53:25 -07:00
parent 11b78d8ec9
commit 3a95259384
2 changed files with 4 additions and 1 deletions

View File

@ -1956,8 +1956,11 @@
case 'b':
case 'B':
case 'd':
case 'e':
case 'H':
case 'I':
case 'k':
case 'l':
case 'm':
case 'M':
case 'p':

View File

@ -1557,7 +1557,7 @@ Time =
foo: ->
code = conf['time'].replace /%([A-Za-z])/g, (s, c) ->
switch c
when 'a', 'A', 'b', 'B', 'd', 'H', 'I', 'm', 'M', 'p', 'P', 'y' then "' + Time.#{c}() + '"
when 'a', 'A', 'b', 'B', 'd', 'e', 'H', 'I', 'k', 'l', 'm', 'M', 'p', 'P', 'y' then "' + Time.#{c}() + '"
else s
Time.funk = Function 'Time', "return '#{code}'"
day: [