Compare commits

...

2 Commits

View File

@@ -7,7 +7,7 @@
# Email: billie@odwyer.xyz
# Description: A script that returns the time in a speech like manner, for example 'quarter past two'
import time
from datetime import datetime
def return_hour(n):
# Determine what the current hour to return is
@@ -80,8 +80,8 @@ def cat(h,m):
return return_hour(h) + " o'clock"
h = time.gmtime()[3]
m = time.gmtime()[4]
h = datetime.now().hour
m = datetime.now().minute
print(cat(h,m))