Skip to content

Commit 40964e5

Browse files
committed
use locale appropriate date/time representation
1 parent 2dfe370 commit 40964e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shouter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def safeshout(messagetoshout):
1515

1616

1717
def gettimestamp():
18-
return datetime.now().strftime('%H:%M:%S')
18+
return datetime.now().strftime('%X')
1919

2020

2121
def getdatetimestamp():
22-
return datetime.now().strftime('%d.%m %H:%M:%S')
22+
return datetime.now().strftime('%x %X')

0 commit comments

Comments
 (0)