Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Date format. #13547
Date format. #13547
Comments
|
Rejected. This will break backward compatibility. |
|
I'm not suggesting to change the internal date format, only what it sets as the output filename. How could this possibly break anything? |
|
It will change all output templates that use these meta fields. This breaks everything that relies on old format, e.g. file directories autocreated based on output template. |
I'd like to propose that when specifying %(upload_date)s or %(release_date)s in the filename template that the returned date be in the ISO standard format of yyyy-MM-dd. The current format is yyyyMMdd with no delimiter. As far as I know, this is not possible to do using the Python string formatting options.