1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00

chore: starting after time (#10872)

This commit is contained in:
Mateusz Kwasniewski 2025-10-27 16:05:32 +01:00 committed by GitHub
parent 31e78d7536
commit 01c0d56277
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,10 +10,10 @@ const formatSmartDate = (date: Date): string => {
const timeString = format(date, 'HH:mm');
if (isToday(date)) {
return `today at ${timeString}`;
return `today after ${timeString}`;
}
if (isTomorrow(date)) {
return `tomorrow at ${timeString}`;
return `tomorrow after ${timeString}`;
}
// For other dates, show full date with time