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

Show yesterday instead of day of the week when the date is yesterday #973

Open
oliver3 opened this issue Feb 6, 2025 · 0 comments
Open
Labels
frontend Issues or pull requests that relate to the frontend

Comments

@oliver3
Copy link
Contributor

oliver3 commented Feb 6, 2025

We've implemented a function formatDateTime() to show either

  • "vandaag 10:30", when the date was today at 10:30
  • "dinsdag 10:30" etc, when the date was in the last 2-6 days
  • "27 jan 10:30" etc, when the date is longer ago

As mentioned in this comment, we should show "gisteren 10:30" when the date was yesterday

@oliver3 oliver3 added the frontend Issues or pull requests that relate to the frontend label Feb 6, 2025
@oliver3 oliver3 added this to Abacus Feb 6, 2025
@github-project-automation github-project-automation bot moved this to Options in Abacus Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Issues or pull requests that relate to the frontend
Projects
Status: Options
Development

No branches or pull requests

1 participant