diff --git a/packages/pipecat-sdk-python/src/supermemory_pipecat/utils.py b/packages/pipecat-sdk-python/src/supermemory_pipecat/utils.py index 8b73c271..a27da256 100644 --- a/packages/pipecat-sdk-python/src/supermemory_pipecat/utils.py +++ b/packages/pipecat-sdk-python/src/supermemory_pipecat/utils.py @@ -42,9 +42,9 @@ def format_relative_time(iso_timestamp: str) -> str: elif days < 7: return f"{int(days)}d ago" elif dt.year == now.year: - return dt.strftime("%-d %b") + return f"{dt.day} {dt.strftime('%b')}" else: - return dt.strftime("%-d %b, %Y") + return f"{dt.day} {dt.strftime('%b')}, {dt.year}" except Exception: return ""