Index out of bounds error on Save when overriding DATETIME field with DATE

Hi Barry,

Thanks for the bug report. We’ve seen this issue before. Obviously, we should not allow you to do this override if it causes an error. I do have a few questions about your use case for when we fix this.

1. What is the use case for presenting the user with a DATE ui control, but sending the data to a DATETIME field? Is it for when a single field has multiple uses for different situations? Or is it the case where maybe the page designer does not have control over the database structure? I’m just trying to understand this a bit better.

2. What timezone would be appropriate to use for the conversion in your use case? The running user’s Salesforce setting? GMT?

Thanks!