Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date format. #13547

Closed
Quaraxkad opened this issue Jul 2, 2017 · 3 comments
Closed

Date format. #13547

Quaraxkad opened this issue Jul 2, 2017 · 3 comments

Comments

@Quaraxkad
Copy link

@Quaraxkad Quaraxkad commented Jul 2, 2017

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.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 2, 2017

Rejected. This will break backward compatibility.

@dstftw dstftw closed this Jul 2, 2017
@Quaraxkad
Copy link
Author

@Quaraxkad Quaraxkad commented Jul 2, 2017

I'm not suggesting to change the internal date format, only what it sets as the output filename. How could this possibly break anything?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 2, 2017

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.

@ytdl-org ytdl-org locked and limited conversation to collaborators Jul 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.