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

[Feature] Accept additional date formats #412

Open
holly-hacker opened this issue Nov 16, 2021 · 7 comments
Open

[Feature] Accept additional date formats #412

holly-hacker opened this issue Nov 16, 2021 · 7 comments
Labels
plugin-idea Feature requests that are better served as a plugin

Comments

@holly-hacker
Copy link

Is your feature request related to a problem? Please describe.
I often manually tag content by copying data from a web page. For one of my sources the date format is YYYY/MM/DD (eg. 2021/10/25) and it gets rejected since stash only accepts dates that in the format YYYY-MM-DD. I have to change the slashes to dashes and this is somewhat annoying.

Describe the solution you'd like
Accept more date formats, such as YYYY/MM/DD. I can't currently think of other date formats, except perhaps RFC3339 (eg. 2021-04-12T23:20:50.52Z).

Describe alternatives you've considered
none

Additional context
none

@peolic

This comment has been minimized.

@holly-hacker
Copy link
Author

The platform I use doesn't have a scraper and you can't look for files by their file name anyway so that's not an option (it is similar to patreon). I may write a plugin for it in the future though, if that's possible.

@stg-annon
Copy link
Contributor

well, it is possible to look up files by name, It's explicitly a feature in scrapers.

You could write a scraper that uses your auth for this paywalled content either byName or fragment should work for this, alternatively if you are content with copy/paste, write a userscript to change the dates on the origin site.

@holly-hacker
Copy link
Author

I mean that the website I use does not allow searching by file name. If I end up writing a plugin, I can do the research on what I can or can't do but for now I just want to see the ability to enter different date formats.

@stg-annon
Copy link
Contributor

the problem here is you would somehow have to be able to magically know the format you are receiving if you accept multiple, for example how would stash know that the user entered 12-11-2021 vs 11-12-2021 both of these are the same date in different formats so how is stash to know which to pick accepting a single standard makes it so there is no confusion here,

@holly-hacker
Copy link
Author

I understand that there is ambiguity when working with MM/DD/YYYY and DD/MM/YYYY, but that's not what I'm asking. I only want both YYYY/MM/DD and YYYY-MM-DD to be accepted (ie. the separator character can be both / and -).

@Maista6969
Copy link
Collaborator

Safe to close as this could be solved by a userscript or a UI plugin

@stg-annon stg-annon closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2024
@DogmaDragon DogmaDragon transferred this issue from stashapp/stash Aug 21, 2024
@DogmaDragon DogmaDragon added the plugin-idea Feature requests that are better served as a plugin label Aug 21, 2024
@DogmaDragon DogmaDragon reopened this Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin-idea Feature requests that are better served as a plugin
Projects
None yet
Development

No branches or pull requests

5 participants