Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cake day 🍰 #627

Merged
merged 4 commits into from
Oct 9, 2023
Merged

feat: cake day 🍰 #627

merged 4 commits into from
Oct 9, 2023

Conversation

sharunkumar
Copy link
Contributor

addresses #59

@aeharding
Copy link
Owner

Thanks for the PR! I'll check it out shortly

@sharunkumar
Copy link
Contributor Author

@aeharding so with the current patch, people who have just created an account < 24h also shows as cake day. is this the way its supposed to work?

@rsammelson
Copy link
Contributor

Will this show the icon at different times for people in different time zones?

@sharunkumar
Copy link
Contributor Author

Will this show the icon at different times for people in different time zones?

time is not taken into account when comparing today's date and the published date. so I think it shouldn't be an issue, since both dates are converted to local time? 🤔

@aeharding
Copy link
Owner

Logic should now take everything into account - and also not show cake day for brand new users. :)

I added some tests too in case more edge cases come up!

@aeharding aeharding merged commit 062df5f into aeharding:main Oct 9, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants