Counterintuitive YYYY-DD-MM dates in the S3 backup folder names

Description

When backing up to S3 storage, the operator creates folder names such as

prod-2020-11-06-00:00:04-full

This example was actually created on 11th June, so the date format is YYYY-DD-MM which is very unconventional!

 

I believe this is the relevant line: 

https://github.com/percona/percona-xtradb-cluster-operator/blob/c6c4b7a127ed83a905c5c180b42bc7532694a940/pkg/controller/pxcbackup/controller.go#L177

Environment

None

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Time tracking

20m logged

Fix versions

Affects versions

Priority

Smart Checklist

Created July 8, 2020 at 10:03 AM
Updated March 5, 2024 at 6:12 PM
Resolved July 23, 2020 at 3:13 PM
Loading...