Wrong prior period start date in dashboard

Created on 4 June 2024, 7 months 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.71.5 2024