Add $today as advertised in Utilities.echo

This commit is contained in:
James Vega 2004-08-23 14:01:57 +00:00
parent b099b66272
commit 96754b8f4b

View File

@ -404,6 +404,7 @@ def standardSubstitute(irc, msg, text, env=None):
'randnick': randNick, 'randomnick': randNick, 'randnick': randNick, 'randomnick': randNick,
'randdate': randDate, 'randomdate': randDate, 'randdate': randDate, 'randomdate': randDate,
'rand': randInt, 'randint': randInt, 'randomint': randInt, 'rand': randInt, 'randint': randInt, 'randomint': randInt,
'today': time.strftime('%d %b %Y', localtime),
'year': localtime[0], 'year': localtime[0],
'month': localtime[1], 'month': localtime[1],
'monthname': time.strftime('%b', localtime), 'monthname': time.strftime('%b', localtime),