top of page

Switch to a Monday Calendar in Knack!

Updated: Dec 20, 2024



Sign up to Knack for Free - Affiliate Link


This Sunday, I wanted to share a quick and handy tip for changing the start day of your calendar in Knack from Sunday to Monday.


While you can easily adjust the calendar component to start on Monday, date fields default to Sunday. To change this, simply add a single line of JavaScript. Modify the variable where Sunday is zero and Monday is one, save your changes, and refresh your app. Now, all date fields will start on a Monday!


Add to JavaScript


// Set the default first day of the week for jQuery UI Datepicker to Monday (1).

$.datepicker.setDefaults({ firstDay: 1 });


15 views0 comments

Recent Posts

See All

留言

評等為 0(最高為 5 顆星)。
暫無評等

新增評等
  • Black LinkedIn Icon
  • Black Twitter Icon
  • Youtube

©2022 CH Project Support Limited

bottom of page