aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development/reference/cpp
diff options
context:
space:
mode:
authorBrendan Jurd <brendan.jurd@geoplex.com.au>2022-03-11 11:51:38 +1100
committerBrendan Jurd <brendan.jurd@geoplex.com.au>2022-03-11 14:33:34 +1100
commit57b7891e75cc5b069954e4545a71c7f78697852e (patch)
tree46e534a3b7ffab9f878289a327fae77d01eca812 /docs/source/development/reference/cpp
parent6d00538de1a1d7da04619fdebfcbd5a16ba07a9f (diff)
downloadPROJ-57b7891e75cc5b069954e4545a71c7f78697852e.tar.gz
PROJ-57b7891e75cc5b069954e4545a71c7f78697852e.zip
unitconvert: round to nearest date when converting to yyyymmdd.
This resolves an issue where converting from a low-precision decimalyear to yyyymmdd gave the wrong result, due to mjd_to_yyyymmdd() truncating away the fractional time component. This commit changes the behaviour of mjd_to_yyyymmdd() to round to the nearest date, instead of truncating. Refs #1483
Diffstat (limited to 'docs/source/development/reference/cpp')
0 files changed, 0 insertions, 0 deletions