Skip to content
← All release notesNewanfra Core0.21.0

Choose the day your weeks start

Set the day weeks start on for the whole project, so weekly charts and this week agree on every database.

Weeks now start on Monday on every database. On MySQL, BigQuery and other databases whose own week starts on Sunday, weekly numbers shift. To keep Sunday, add to .anfra/config.yml:

query:
  default:
    input:
      weekStartDay: sunday

Add locked_defaults: [input.weekStartDay] under query so no query overrides it. A data app can set its own with createApp({ weekStartDay }). Learn more (opens in a new tab)

Full changelog (opens in a new tab)