cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Omppu
New Member

Out-of-box calendar screen does not support a week starting from Monday ??

Reza Dorrani presented in his video 

Build CALENDAR Control in POWER APPS in Minutes

very finely out-of-box monthly calendar. It also seems to work.

But then I tried to change calendar so that week starts from Monday instead of Sunday.

 

Omppu_0-1669882244995.png

It happens so that the last Sunday of calendar view disappears somewhere.

Can anyone explain this behavior?

 

What I did to get into this view?

Omppu_1-1669882617837.png

Then I set the first day in view on right place by removing +1 

Omppu_2-1669882933115.png

as you see in picture above.

 

Is there something in the code that must be updated somewhere else?

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Thanks a lot!

Now my Monday calendar works right way.

 

Best regards,

Omppu

View solution in original post

4 REPLIES 4
v-jefferni
Community Support
Community Support

Hi @Omppu ,

 

Here is a case with exact same requirement as yours:

Solved: Change calendar page starting day to monday - Power Platform Community (microsoft.com)

 

Best regards,

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Omppu
New Member

Showing Monday as first day in calendar is not the problem.  

The problem is where is the last Sunday in every months view.

Omppu_0-1669894128474.png

 

Hi @Omppu ,

 

Sorry for the late. You can minus 1 of weekday in Visible of the day Gallery template:

vjefferni_0-1670557293118.png

 !(DateAdd(_firstDayInView,ThisItem.Value,Days) - Weekday(DateAdd(_firstDayInView,ThisItem.Value,Days)-1) +1 > _lastDayOfMonth)

 

Best regards,

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Thanks a lot!

Now my Monday calendar works right way.

 

Best regards,

Omppu

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,351)