Let’s face it – no one likes “Mondays”. But what if your Monday isn’t on Monday?
Much of the world doesn’t start calendar weeks on Sunday, so whether your week starts on Friday, Saturday, Sunday or Monday, you now have the option to customize the first day of the week for your docs.
Here are some tips to help you get started:
Account settings
Maybe you want all your future docs to reflect the first day of the week for your region. You can update your settings for all your new docs in the New Doc Region Defaults. Click on your account settings in the upper-right hand corner of your screen and scroll down to the New Doc Region Defaults section.
Keep in mind this will not affect your existing docs.
Region settings
To customize the first day of the week in your existing docs, click on the gear icon in the upper-right hand corner of your doc to open doc settings. Click Region and look for the First Day of The Week icon at the bottom of the display panel.
Once you have made the changes, you will see your new first day of the week updated in other areas of your doc, such as date pickers and date controls.
Calendar options
Calendars follow the doc’s first day of the week setting. You can also open Calendar options > Calendar display and look for the First Day of The Week option at the bottom of the display panel to get to the doc setting.
Formula tips
- The
Weekday()
,WeekNumber()
, andDateTimeTruncate(date,"week")
formulas now respect the new setting. -
WeekNumber()
always considers the first week of the year to contain Jan 1. Continue to useIsoWeekNumber()
for the convention where the first week of the year includes the first Thursday of the year, and the first day of the week is Monday. - We’ve also added
IsoWeekday()
which always considers Monday the first day of the week, regardless of doc setting.
We’ve seen Coda’s community expand internationally and with this expansion comes the importance to align with customs from every region of the world. Stay tuned for more, as we are dedicated to delivering more international features to Coda users across the globe!
Enjoy!