Added day and monthname.

This commit is contained in:
Jeremy Fincher 2004-08-22 08:06:39 +00:00
parent fbd3f46788
commit 091ff90cfb

View File

@ -404,7 +404,9 @@ def standardSubstitute(irc, msg, text, env=None):
'rand': randInt, 'randint': randInt, 'randomint': randInt,
'year': localtime[0],
'month': localtime[1],
'monthname': time.strftime('%b', localtime),
'date': localtime[2],
'day', time.strftime('%A', localtime),
'h': localtime[3], 'hr': localtime[3], 'hour': localtime[3],
'm': localtime[4], 'min': localtime[4], 'minute': localtime[4],
's': localtime[5], 'sec': localtime[5], 'second': localtime[5],