patch a032f79bcbacc71d08e813af1e4b8b513111f34e
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sun Mar 19 02:15:39 CET 2023
* service: Fix compact date/time for more than 1 year, in dialog list
diff -rN -u old-irgramd/utils.py new-irgramd/utils.py
--- old-irgramd/utils.py 2024-11-22 15:57:41.835079616 +0100
+++ new-irgramd/utils.py 2024-11-22 15:57:41.835079616 +0100
@@ -115,7 +115,7 @@
if delta.days < 1:
compact_date = date.strftime('%H:%M')
- elif delta.days < 366:
+ elif delta.days < 365:
compact_date = date.strftime('%d-%b')
else:
compact_date = date.strftime('%Y')