Added stuff

This commit is contained in:
Luke Rogers 2013-07-16 03:32:47 +12:00
parent 8873d61c0a
commit 04cf2fcdf0

View file

@ -43,6 +43,8 @@ def beats(inp):
"ter midnight. So, @248 would indicate a time 248 .beats after midni" \
"ght representing 248/1000 of a day, just over 5 hours and 57 minute" \
"s. There are no timezones."
elif inp.lower() == "guide":
return "1 day = 1000 .beats, 1 hour = 41.666 .beats, 1 min = 0.6944 .beats, 1 second = 0.01157 .beats"
t = time.gmtime()
h, m, s = t.tm_hour, t.tm_min, t.tm_sec