I love the Force.com platform, but sometimes dealing with their tier 1 support can be a little frustrating. I’ve been going back and forth with “Butch” about the following, and for some reason Salesforce.com support can’t seem to recreate it. I’m posting here should someone else know of it, or like to try it themselves.

When creating an event after 10:00 PM, then changing the event start date to a future date, and then changing the event start time to any time earlier than what’s already displayed, the event end date will change to 1 day BEFORE the start date. This behavior can be reproduced reliably across all major browsers in both Mac (OS X 10.8.2 & 10.6.8) and Windows (Win XP) operating systems, as well as iOS 5 (iPad rev1).

Steps to reproduce:

  • Create a new event after 10:00 PM local time (this is important).
  • Change the event start date to one or more days into the future.
  • Change event start time to one or more hours EARLIER than the time currently displayed.

Result: The event END date will change to 1 day earlier than the event start date, and the end time will change to one hour later than the start time — essentially giving you an appointment that lasts for negative 23 hours.

Date bug

Or, if you prefer, here’s a QuickTime movie of the bug in action: 08402502_video.mov

Are you able to reproduce this?

Update: I’ve discovered this bug only seems to happen between 10:00 PM and 10:59 PM. Once the 11:00 hour is reached, Salesforce behaves normally again, and it cannot be reproduced during the 9:00 PM hour either.

To reproduce, change your Salesforce Time Zone so the system time puts you in the 10:00 PM hour.