diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2022-03-15 08:52:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-15 08:52:43 +0100 |
| commit | 8f614bb9e4b7628f5363ccb48a33ba771704b988 (patch) | |
| tree | d069716e496413149adc13e5f9e709cfce4837b9 /docs/source | |
| parent | fb4f815a09f98b5581f6cac0f232035101fcce23 (diff) | |
| parent | ac069da7de745fb231309c7a5c2c42706b49ad8d (diff) | |
| download | PROJ-8f614bb9e4b7628f5363ccb48a33ba771704b988.tar.gz PROJ-8f614bb9e4b7628f5363ccb48a33ba771704b988.zip | |
Merge pull request #3117 from OSGeo/backport-3111-to-9.0
[Backport 9.0] unitconvert: round to nearest date when converting to yyyymmdd.
Diffstat (limited to 'docs/source')
| -rw-r--r-- | docs/source/operations/conversions/unitconvert.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/source/operations/conversions/unitconvert.rst b/docs/source/operations/conversions/unitconvert.rst index f1488d9a..13ca9228 100644 --- a/docs/source/operations/conversions/unitconvert.rst +++ b/docs/source/operations/conversions/unitconvert.rst @@ -158,6 +158,16 @@ Time units In the table below all time units supported by PROJ are listed. + .. note:: + + When converting time units from a date-only format (`yyyymmdd`), PROJ + assumes a time value of 00:00 midnight. When converting time units + to a date-only format, PROJ rounds to the *nearest* date at 00:00 + midnight. That is, any time values less than 12:00 noon will round to + 00:00 on the same day. Time values greater than or equal to 12:00 noon + will round to 00:00 on the following day. + + +--------------+-----------------------------+ | Label | Name | +==============+=============================+ |
