I am trying to display datetime values in a QTableView. I have found this working pyside2 example (scroll down) for string and float type data:
What would I need to change within the table model so that I could display datetime data. How could this data be formatted to be displayed for example like '01.05.2019'.
I do NOT want to convert the datetime data to string beforehand since then the data cannot be sorted in a meaningful way when clicking in the table header...
Thanks a lot!