Skip to content

Commit 4bf863e

Browse files
MarekWoclaude
andcommitted
fix(channels): show full year in channel-list date to avoid HH.MM lookalikes
Old DD.MM rendering (e.g. "20.04") was visually indistinguishable from a time stamp; switch to DD.MM.YYYY for messages older than today. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 05291e8 commit 4bf863e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/static/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3676,7 +3676,7 @@ function formatChannelTime(unixTimestamp) {
36763676
}
36773677
const day = String(d.getDate()).padStart(2, '0');
36783678
const month = String(d.getMonth() + 1).padStart(2, '0');
3679-
return `${day}.${month}`;
3679+
return `${day}.${month}.${d.getFullYear()}`;
36803680
}
36813681

36823682
/**

0 commit comments

Comments
 (0)