Ladybug version
v0.18
What operating system are you using?
Windows 10
What happened?
when testing the interval datatype (as per the documentation), interval ('1 year 2days') returns 362 days which to my mind is incorrect. A year at minimum has 365 days and so any additional time should be added. In this case I would have at least expected 367 days. Subtracting two days from 365 should return 363??? By the same token, when UTC is considered as part of time measurement I would have expected the addition of more units to increase the return value; the example in the documentation adds 10 but somehow returns 1969-12-31 14:00:00? If 1970-01-01 is my starting point and 10 hours are added, I would naturally expected the returned value to be 1970-01-01 10:00:00???
Are there known steps to reproduce?
executing the examples from the documentation for the Cypher manual on data types (timestamp and interval).
Ladybug version
v0.18
What operating system are you using?
Windows 10
What happened?
when testing the interval datatype (as per the documentation), interval ('1 year 2days') returns 362 days which to my mind is incorrect. A year at minimum has 365 days and so any additional time should be added. In this case I would have at least expected 367 days. Subtracting two days from 365 should return 363??? By the same token, when UTC is considered as part of time measurement I would have expected the addition of more units to increase the return value; the example in the documentation adds 10 but somehow returns 1969-12-31 14:00:00? If 1970-01-01 is my starting point and 10 hours are added, I would naturally expected the returned value to be 1970-01-01 10:00:00???
Are there known steps to reproduce?
executing the examples from the documentation for the Cypher manual on data types (timestamp and interval).