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 options #10

Closed
simistef opened this issue Mar 14, 2023 · 2 comments
Closed

Date format options #10

simistef opened this issue Mar 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@simistef
Copy link

Maybe as a future request or maybe exists already, but i would like to save in the date tag only the year without the month and day. Is there a possibility to do this now, or is subject to a new feature in this plugin ? Thanks

@kernitus kernitus added the enhancement New feature or request label Apr 20, 2023
@kernitus
Copy link
Owner

I do not think that is currently possible because of the way dates are compared. Could you give an example of what you are looking for? Would the plugin only overwrite the year but leave the day and month untouched, or remove the whole date and then only save the year?

@kernitus
Copy link
Owner

@simistef I have added this as part of two new options overwrite_month and overwrite_day. If overwrite_date is set but not the other two, then only the year will be written, and the month and day set to blank.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants