Skip to content

fix(targetTime): treat RFC3339-like timestamps without timezone as UTC#700

Merged
mnencia merged 2 commits intomainfrom
dev/699
Dec 30, 2025
Merged

fix(targetTime): treat RFC3339-like timestamps without timezone as UTC#700
mnencia merged 2 commits intomainfrom
dev/699

Conversation

@mnencia
Copy link
Member

@mnencia mnencia commented Dec 24, 2025

Update the machinery dependency to include the fix that ensures RFC3339-like timestamps without timezone (e.g., "2024-01-15T10:30:00") are interpreted as UTC.

The documentation has been updated to use a targetTime example with an explicit Z suffix and to clarify that RFC3339-like timestamps without timezone are interpreted as UTC.

Closes #699

@mnencia mnencia requested a review from a team as a code owner December 24, 2025 13:33
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation labels Dec 24, 2025
@jsilvela
Copy link

👍 looks good, will upvote once the pseudo-version can be discarded

armru
armru previously approved these changes Dec 29, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 29, 2025
NiccoloFei
NiccoloFei previously approved these changes Dec 29, 2025
mnencia and others added 2 commits December 29, 2025 18:47
Update the machinery dependency to include the fix that ensures
RFC3339-like timestamps without timezone (e.g., "2024-01-15T10:30:00")
are interpreted as UTC.

The documentation has been updated to use a targetTime example with
an explicit Z suffix and to clarify that timestamps without timezone
are interpreted as UTC.

Closes #699

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
@mnencia mnencia dismissed stale reviews from NiccoloFei and armru via 2105816 December 29, 2025 17:49
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Dec 29, 2025
@mnencia mnencia merged commit 1f1d300 into main Dec 30, 2025
8 checks passed
@mnencia mnencia deleted the dev/699 branch December 30, 2025 08:57
mnencia added a commit that referenced this pull request Dec 30, 2025
Follow-up to #700 to align the targetTime documentation with
cloudnative-pg standards. The note now covers all timestamp formats (not
just RFC 3339) and uses PostgreSQL format in the example to avoid
advertising the non-standard RFC3339-like format without timezone. A
warning has been added recommending to always specify an explicit
timezone to avoid ambiguity.

Related: #699

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
renovate bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Jan 8, 2026
…v0.10.0

##### [\`v0.10.0\`](https://github.com/cloudnative-pg/plugin-barman-cloud/releases/tag/v0.10.0)

##### Features

- Add `pprof-server` support  ([#538](cloudnative-pg/plugin-barman-cloud#538)) ([921b20c](cloudnative-pg/plugin-barman-cloud@921b20c)), closes [#421](cloudnative-pg/plugin-barman-cloud#421)
- Remove wal from cache after archiving ([#659](cloudnative-pg/plugin-barman-cloud#659)) ([df22bf2](cloudnative-pg/plugin-barman-cloud@df22bf2))

##### Bug Fixes

- **deps:** Update all non-major go dependencies ([#685](cloudnative-pg/plugin-barman-cloud#685)) ([df2f91d](cloudnative-pg/plugin-barman-cloud@df2f91d))
- **deps:** Update all non-major go dependencies ([#701](cloudnative-pg/plugin-barman-cloud#701)) ([db96dcc](cloudnative-pg/plugin-barman-cloud@db96dcc))
- **deps:** Update k8s.io/utils digest to [`383b50a`](cloudnative-pg/plugin-barman-cloud@383b50a) ([#695](cloudnative-pg/plugin-barman-cloud#695)) ([95ef5dc](cloudnative-pg/plugin-barman-cloud@95ef5dc))
- **deps:** Update k8s.io/utils digest to [`9d40a56`](cloudnative-pg/plugin-barman-cloud@9d40a56) ([#684](cloudnative-pg/plugin-barman-cloud#684)) ([0ea3d91](cloudnative-pg/plugin-barman-cloud@0ea3d91))
- **deps:** Update kubernetes packages to v0.35.0 ([#694](cloudnative-pg/plugin-barman-cloud#694)) ([30dbc44](cloudnative-pg/plugin-barman-cloud@30dbc44))
- **deps:** Update module google.golang.org/grpc to v1.78.0 ([#697](cloudnative-pg/plugin-barman-cloud#697)) ([3f8d4f7](cloudnative-pg/plugin-barman-cloud@3f8d4f7))
- **deps:** Update module sigs.k8s.io/kustomize/api to v0.21.0 ([#651](cloudnative-pg/plugin-barman-cloud#651)) ([ef19031](cloudnative-pg/plugin-barman-cloud@ef19031))
- Don't log full environment variables at default log level ([#589](cloudnative-pg/plugin-barman-cloud#589)) ([a487c4e](cloudnative-pg/plugin-barman-cloud@a487c4e))
- **targetTime:** Treat RFC3339-like timestamps without timezone as UTC ([#700](cloudnative-pg/plugin-barman-cloud#700)) ([1f1d300](cloudnative-pg/plugin-barman-cloud@1f1d300)), closes [#699](cloudnative-pg/plugin-barman-cloud#699)
sdwilsh pushed a commit to sdwilsh/ansible-playbooks that referenced this pull request Jan 8, 2026
…v0.10.0

##### [\`v0.10.0\`](https://github.com/cloudnative-pg/plugin-barman-cloud/releases/tag/v0.10.0)

##### Features

- Add `pprof-server` support  ([#538](cloudnative-pg/plugin-barman-cloud#538)) ([921b20c](cloudnative-pg/plugin-barman-cloud@921b20c)), closes [#421](cloudnative-pg/plugin-barman-cloud#421)
- Remove wal from cache after archiving ([#659](cloudnative-pg/plugin-barman-cloud#659)) ([df22bf2](cloudnative-pg/plugin-barman-cloud@df22bf2))

##### Bug Fixes

- **deps:** Update all non-major go dependencies ([#685](cloudnative-pg/plugin-barman-cloud#685)) ([df2f91d](cloudnative-pg/plugin-barman-cloud@df2f91d))
- **deps:** Update all non-major go dependencies ([#701](cloudnative-pg/plugin-barman-cloud#701)) ([db96dcc](cloudnative-pg/plugin-barman-cloud@db96dcc))
- **deps:** Update k8s.io/utils digest to [`383b50a`](cloudnative-pg/plugin-barman-cloud@383b50a) ([#695](cloudnative-pg/plugin-barman-cloud#695)) ([95ef5dc](cloudnative-pg/plugin-barman-cloud@95ef5dc))
- **deps:** Update k8s.io/utils digest to [`9d40a56`](cloudnative-pg/plugin-barman-cloud@9d40a56) ([#684](cloudnative-pg/plugin-barman-cloud#684)) ([0ea3d91](cloudnative-pg/plugin-barman-cloud@0ea3d91))
- **deps:** Update kubernetes packages to v0.35.0 ([#694](cloudnative-pg/plugin-barman-cloud#694)) ([30dbc44](cloudnative-pg/plugin-barman-cloud@30dbc44))
- **deps:** Update module google.golang.org/grpc to v1.78.0 ([#697](cloudnative-pg/plugin-barman-cloud#697)) ([3f8d4f7](cloudnative-pg/plugin-barman-cloud@3f8d4f7))
- **deps:** Update module sigs.k8s.io/kustomize/api to v0.21.0 ([#651](cloudnative-pg/plugin-barman-cloud#651)) ([ef19031](cloudnative-pg/plugin-barman-cloud@ef19031))
- Don't log full environment variables at default log level ([#589](cloudnative-pg/plugin-barman-cloud#589)) ([a487c4e](cloudnative-pg/plugin-barman-cloud@a487c4e))
- **targetTime:** Treat RFC3339-like timestamps without timezone as UTC ([#700](cloudnative-pg/plugin-barman-cloud#700)) ([1f1d300](cloudnative-pg/plugin-barman-cloud@1f1d300)), closes [#699](cloudnative-pg/plugin-barman-cloud#699)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs]: Update targetTime example to include timezone and document UTC behavior

4 participants