mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +01:00
Added day and monthname.
This commit is contained in:
parent
fbd3f46788
commit
091ff90cfb
@ -404,7 +404,9 @@ def standardSubstitute(irc, msg, text, env=None):
|
|||||||
'rand': randInt, 'randint': randInt, 'randomint': randInt,
|
'rand': randInt, 'randint': randInt, 'randomint': randInt,
|
||||||
'year': localtime[0],
|
'year': localtime[0],
|
||||||
'month': localtime[1],
|
'month': localtime[1],
|
||||||
|
'monthname': time.strftime('%b', localtime),
|
||||||
'date': localtime[2],
|
'date': localtime[2],
|
||||||
|
'day', time.strftime('%A', localtime),
|
||||||
'h': localtime[3], 'hr': localtime[3], 'hour': localtime[3],
|
'h': localtime[3], 'hr': localtime[3], 'hour': localtime[3],
|
||||||
'm': localtime[4], 'min': localtime[4], 'minute': localtime[4],
|
'm': localtime[4], 'min': localtime[4], 'minute': localtime[4],
|
||||||
's': localtime[5], 'sec': localtime[5], 'second': localtime[5],
|
's': localtime[5], 'sec': localtime[5], 'second': localtime[5],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user