• Olav van Duin's avatar
    Fix flooring of dates/times in PI-XML import · a2f00aff
    Olav van Duin authored
    Before, we would floor based on the base time (midnight 1-1-1970). This
    would mean that having a start date of e.g. 09:35 and a time step of
    00:15 did not work well together. The start date would get rounded down
    to 09:30 instead of the desired 09:35. This commit makes sure that such
    cases are handled correctly, but that rounding is still performed (e.g.
    09:51 will get rounded down to 09:50).
    
    Closes #1020
    a2f00aff
Name
Last commit
Last update
doc Loading commit data...
examples Loading commit data...
src/rtctools Loading commit data...
tests Loading commit data...
xsd Loading commit data...
.codecov.yml Loading commit data...
.coveragerc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
MANIFEST.in Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
versioneer.py Loading commit data...