mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Time: tztime: mention IANA TZ Database in help
https://www.iana.org/time-zones uses the spelling IANA Time Zone Database, so I use it too.
This commit is contained in:
parent
496979758f
commit
b8193e0c88
@ -178,7 +178,8 @@ class Time(callbacks.Plugin):
|
|||||||
def tztime(self, irc, msg, args, timezone):
|
def tztime(self, irc, msg, args, timezone):
|
||||||
"""<region>/<city>
|
"""<region>/<city>
|
||||||
|
|
||||||
Takes a city and its region, and returns the locale time."""
|
Takes a city and its region, and returns the locale time. This
|
||||||
|
command uses the IANA Time Zone Database."""
|
||||||
try:
|
try:
|
||||||
import pytz
|
import pytz
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
Loading…
Reference in New Issue
Block a user