From 29ab450d4ed5b4c707a17beee472fc5c6c4948ca Mon Sep 17 00:00:00 2001
From: Neves-P
Date: Wed, 12 Jun 2024 19:20:52 +0200
Subject: [PATCH] Same formatting for directory timestamp
---
eessi_bot_event_handler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eessi_bot_event_handler.py b/eessi_bot_event_handler.py
index 3f9a8e1..a832983 100644
--- a/eessi_bot_event_handler.py
+++ b/eessi_bot_event_handler.py
@@ -640,7 +640,7 @@ def handle_pull_request_closed_event(self, event_info, pr):
repo_name = request_body['repository']['full_name']
dt = datetime.now(timezone.utc)
- trash_bin_dir = "/".join([trash_bin_root_dir, repo_name, dt.strftime('%Y%m%d')])
+ trash_bin_dir = "/".join([trash_bin_root_dir, repo_name, dt.strftime('%Y%m.%d')])
# Subdirectory with date of move. Also with repository name. Handle symbolic links (later?)
# cron job deletes symlinks?