diff options
-rw-r--r-- | ui/src/utils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/src/utils.ts b/ui/src/utils.ts index 6276519b..2bede777 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -496,7 +496,8 @@ export function isCakeDay(published: string): boolean { return ( userCreationDate.date() === currentDate.date() && - userCreationDate.month() === currentDate.month() + userCreationDate.month() === currentDate.month() && + userCreationDate.year() !== currentDate.year() ); } |