Wrong prior period start date in dashboard

Created on 4 June 2024, 24 days ago

For prior period comparaison, the following strings are used to generate the starting datetime of the prior period :

  • 'yesterday',
  • sprintf('%s last week', $first_day_of_week),
  • 'first day of last month',
  • 'first day of last year',

The two first one generate a datetime at midnight, while the last ones keep the current time.
Let's prefix last strings with 'midnight' to keep a consistent behaviour.

πŸ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Order

Created by

πŸ‡«πŸ‡·France NicolasGraph Strasbourg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024