FIX: breaking datetime in edit mode
Compare changes
Fix for https://gitlab.com/linkahead/linkahead-webui/-/issues/239
trim
to deal with whitespacesThis is far from perfect but substantially improves status quo: First of all we do no longer destroy timestamps simply by using the edit mode (and without even touching the timestamp). Subsecond resolution can still not be changed, but at least it is preserved!
Do we need to deal with time zones as well?
Edit
and then Save
on an entity with a timestamp with sub seconds. Check that it did not changePlease, prepare your MR for a review. Be sure to write a summary and a focus and create gitlab comments for the reviewer. They should guide the reviewer through the changes, explain your changes and also point out open questions. For further good practices have a look at our review guidelines
For further good practices have a look at our review guidelines.