You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating a table with a datetime field, the datetime field always gets automatically updated because the datepicker is not tracking seconds.
For example:
If you have a Users table with a date_of_birth column set to 12/1/2017 10:00:59 and you go on rails_admin and change the user's email, the date_of_birth column will automatically be changed to 12/1/2017 10:00:00
The text was updated successfully, but these errors were encountered:
I observe the same issue. Every time I edit an object, its datetime properties get updated with the seconds being stripped away. If I try to manually add the seconds in the date picker text box, they automatically disappear.
Also I don't understand what controls the format of this date picker. I've seen other instances where the seconds did get shown (see the screenshot in #3134 (comment)).
Together with other date picker issues (#3134, #3140), it makes it quite difficult to use RailsAdmin to edit anything.
When updating a table with a datetime field, the datetime field always gets automatically updated because the datepicker is not tracking seconds.
For example:
If you have a Users table with a date_of_birth column set to 12/1/2017 10:00:59 and you go on rails_admin and change the user's email, the date_of_birth column will automatically be changed to 12/1/2017 10:00:00
The text was updated successfully, but these errors were encountered: