jitenbot/bot/time.py
stephenmk b03978d1f7
Add timestamps to command line messages
This is a clumsy way of doing it (since it would be better to have a
wrapper function append the timestamp), but that will be taken care of
when the logging logic is all overhauled anyway.
2023-07-28 23:17:42 -05:00

6 lines
62 B
Python

import time
def timestamp():
return time.strftime('%X')