Wrong format of datetime in db from old Datovka 3
Datovka 3 stores wrong values of datetime into db. Datovka 4 after repeated downloading of the same message adds (duplicates) same information again with proper values in ms. We need some mechanism for eliminate these duplicates. Here is an example:
-
Datovka 3:
- 1 | 3332155 |
2015-02-20 09:43:43.000360
| EV0: ... - 2 | 3332155 |
2015-02-20 09:43:43.000599
| EV5: ...
- 1 | 3332155 |
-
Datovka 4:
- 3 | 3332155 |
2015-02-20 09:43:43.360000
| EV0: ... - 4 | 3332155 |
2015-02-20 09:43:43.599000
| EV5: ...
- 3 | 3332155 |
Datovka 3 seems to insert microseconds rather than milliseconds (fails to convert to microseconds).