Describe your bug or feature request.

Currently, in the dashboard metrics form, we hardcode the first day of the week to "Monday", let's use Drupal's config.
Drupal uses a number to represent the day (0 = sunday, 1 = monday).

Once we do this, we can use the first day of the month both for the current period and the prior period comparison.

CommentFileSizeAuthor
#2 3412071-2.patch1.86 KBjsacksick

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Status: Active » Needs review
StatusFileSize
new1.86 KB
valic’s picture

Status: Needs review » Reviewed & tested by the community

I applied the patch and tested it on the Croatian / English admin language, and it works.
Marking as RTBM.

jsacksick’s picture

Status: Reviewed & tested by the community » Fixed

Awesome! Thanks for the help with testing, committed!

  • jsacksick committed 18ff631a on 8.x-2.x
    Issue #3412071 by jsacksick, valic: Get the first day of the week from...

  • jsacksick committed d97727b1 on 3.0.x
    Issue #3412071 by jsacksick, valic: Get the first day of the week from...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.