That script shows the time just fine, and it’s as expected (matches my own computers time to the second).
Mentioning the JavaScript was probably a distraction. The user is presented with a date field, and pull downs for hour, minute, and AM/PM. After making their selections, I concatenate the fields into one field, as so:
$(‘input[name=entry_date]’).val( $(’#start_date’).val() + ’ ’ + $(’#hour’).val() + ‘:’ + $(’#minute’).val() + ’ ’ + $(’#ampm’).val() );
So it’s setting the entry_date to exact values, and not doing any extra math that might remove 60 seconds. Also, the nature of the entries means we never want to change that entry_date, so I don’t think it’s somewhere else in the code.
Out of the 70+ times the form has been submitted, the problem has occurred about 4 times. Every time it has happened, the user was attempting to set the time to the top of the hour (7:00 or 6:00), and it ends up being one minute sooner than they intended.
I had thought it might be some strange rounding error, where the system is converting to GMT and back, but I guess it’s pretty far-fetched to think that people wouldn’t notice that, so I guess close this and I’ll work harder on reproducing the issue.
Thanks.