diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2025-11-04 14:05:46 +0000 |
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2025-11-04 14:05:46 +0000 |
| commit | af86a9a01c36002d18b9666f470d7a3fce0e533c (patch) | |
| tree | 097ca03e07b9845a360d5c02ce13b6a7c083cf46 /subreddit.py | |
| parent | db922ff88310724334495f21db2fa6fe3c16e791 (diff) | |
| download | SmallYTChannelBot-af86a9a01c36002d18b9666f470d7a3fce0e533c.tar.gz SmallYTChannelBot-af86a9a01c36002d18b9666f470d7a3fce0e533c.zip | |
Updated logging on hourly cronjob
Diffstat (limited to 'subreddit.py')
| -rwxr-xr-x | subreddit.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subreddit.py b/subreddit.py index 5f12e74..0360dea 100755 --- a/subreddit.py +++ b/subreddit.py @@ -49,7 +49,8 @@ logging.basicConfig( # logger.addHandler(handler) def get_time(): - return time.strftime("%b %d %Y %H:%M:%S", time.gmtime()) + # return time.strftime("%b %d %Y %H:%M:%S", time.gmtime()) + return datetime.datetime.now().astimezone().isoformat() def display(message, concerning = None): logging.info(message) |
