justicenation / slashclock

/clock concept as a new Slack app
GNU General Public License v3.0
0 stars 0 forks source link

End Time has variable seconds when edited in Salesforce1 #10

Closed martyychang closed 7 years ago

martyychang commented 7 years ago

When I edit the End Time field in Salesforce1, the value shown may read, "Sep 6, 2017, 5:45 PM" in my English (United States) locale. However, the actual value stored in Salesforce will have un unpredictable number of seconds, such as 2017-09-06T21:45:33.000+0000. The seconds component is unwanted, and it screws up report calculations.

martyychang commented 7 years ago

Resolved by #13 with TimeEntryTrigger truncating all start and end times down to the minute