Skip to main content The new Salesforce certifications experience is live! Visit Trailhead Academy to explore your new certifications homepage.
I've tried this in a couple of Orgs and the behaviour is the same. If you put the calendar into Day view and then select a day, the day you click is circled but the previous day is highlighted and displayed. This happens for all days in October except the 29th, 30th and 31st. Any ideas?

 

calendar day view selecting the wrong day
6 answers
  1. Oct 16, 2018, 3:21 PM
    It definitely sounds like a Daylight Savings Time issue. Either that, or the calendar just gets spooky around Holloween. Is your PC timezone the same as your user's timezone?
  2. Oct 16, 2018, 4:33 PM
    The Org is set to DST as is my and the user's machines. It's definitely the issue though, thank you Amnon.

     

     
  3. Oct 16, 2018, 4:21 PM
    Exactly! Now, depending on how they implemented things, it could be to do with a time zone desynchronisation between your local machine and the user record. Say your user is set to a USA timezone where DST already happened, your local machine will essentially be sending one hour backwards when you click the date. So the first thing I'd check is the timezone set on your user. 
  4. Oct 16, 2018, 4:17 PM
    Interesting, with you now. So the 29th, 30th and 31st are working because they are after daylight savings has finished.
  5. Oct 16, 2018, 3:31 PM
    That's because the buttons use dates, and not date-times. A date is essentially like dd/mm/yy 00:00:00, which means a one hour difference ruins the whole thing.

     

    As someone who's built a few calendar applications on Salesforce, this has been the bane of my existence. Could be that the calendar component is struggling with it, as well.
  6. Oct 16, 2018, 3:29 PM
    I thought along the same lines but the difference is too big. It's now after 4pm in the UK so there isn't a timezone that is still on yesterday. All users, including me, are in the same timezone.
0/9000