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:
parent
31e78d7536
commit
01c0d56277
@ -10,10 +10,10 @@ const formatSmartDate = (date: Date): string => {
|
|||||||
const timeString = format(date, 'HH:mm');
|
const timeString = format(date, 'HH:mm');
|
||||||
|
|
||||||
if (isToday(date)) {
|
if (isToday(date)) {
|
||||||
return `today at ${timeString}`;
|
return `today after ${timeString}`;
|
||||||
}
|
}
|
||||||
if (isTomorrow(date)) {
|
if (isTomorrow(date)) {
|
||||||
return `tomorrow at ${timeString}`;
|
return `tomorrow after ${timeString}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// For other dates, show full date with time
|
// For other dates, show full date with time
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user