From: Christian Ebner <c.ebner@proxmox.com>
To: Kim Soo <popododo0720@naver.com>, pbs-devel@lists.proxmox.com
Subject: Re: [PATCH proxmox-backup v2] fix #8109: catalog: dump: print file mtime in UTC
Date: Wed, 25 Nov 2026 16:40:58 +0100 [thread overview]
Message-ID: <63e84fd1-a256-4df5-990d-2ea74cb6df31@proxmox.com> (raw)
In-Reply-To: <20261118060658.1515616-1-popododo0720@naver.com>
On 11/20/26 2:58 PM, Kim Soo wrote:
> The catalog dump formatted the file mtime with strftime_local() but
> appended a literal 'Z', so the printed time was off by the local UTC
> offset while claiming to be UTC. Depending on the offset the date was
> wrong as well.
>
> This affects both code paths of the dump: the regular catalog, and the
> fallback for snapshots created with change detection mode 'metadata',
> which have no catalog and are dumped from the metadata archives.
>
> Use epoch_to_rfc3339_utc() in both places instead, which is also used
> for snapshot names, so the output is actually UTC and consistent with
> them.
>
> Signed-off-by: Kim Soo <popododo0720@naver.com>
> ---
Thanks for the patch, version 2 looks good to me.
Was pondering if we should align the behavior to the catalog shell's
stat command output or pxar list, which show it as e.g. 2026-11-24
10:27:10, but since the timestamp already presented itself as being UTC
it is better to keep this approach for the fix.
Tested-by: Christian Ebner <c.ebner@proxmox.com>
Reviewed-by: Christian Ebner <c.ebner@proxmox.com>
prev parent reply other threads:[~2026-11-25 15:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 5:40 [PATCH proxmox-backup] fix #8109: catalog: dump: print file mtime in UTC Kim Soo
2026-11-18 6:06 ` [PATCH proxmox-backup v2] " Kim Soo
2026-11-25 15:40 ` Christian Ebner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=63e84fd1-a256-4df5-990d-2ea74cb6df31@proxmox.com \
--to=c.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
--cc=popododo0720@naver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.