Parse text as datetime when it is a string
The on_paste method is calling value_from_text for each widget using the string from the clipboard. So textual value needs to be supported even for date and time widgets which uses a cell renderer that provides datetime value.
Closes #12860 (closed)