src/conf.py: use ISO 8601 in reply.format.time.

If I read the code for Time correctly, it uses this value by default. I
think that this fixes #701 .
This commit is contained in:
Mikaela Suomalainen 2014-05-31 09:46:29 +03:00
parent 5881c97120
commit 8ee273b949

View File

@ -367,7 +367,7 @@ registerGroup(supybot.reply, 'format')
registerChannelValue(supybot.reply.format, 'url', registerChannelValue(supybot.reply.format, 'url',
registry.String('<%s>', _("""Determines how urls should be formatted."""))) registry.String('<%s>', _("""Determines how urls should be formatted.""")))
registerChannelValue(supybot.reply.format, 'time', registerChannelValue(supybot.reply.format, 'time',
registry.String('%I:%M %p, %B %d, %Y', _("""Determines how timestamps registry.String('%Y-%m-%d %H:%M:%S%z', _("""Determines how timestamps
printed for human reading should be formatted. Refer to the Python printed for human reading should be formatted. Refer to the Python
documentation for the time module to see valid formatting characters for documentation for the time module to see valid formatting characters for
time formats."""))) time formats.""")))