-
When correcting dates, what's the best format to submit. I seems like yyyy-mm-dd is not recognized:
I need to trick it with passing a time as well
What's the best way to pass a date on the shell? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You need to pass the date in epoch format. |
Beta Was this translation helpful? Give feedback.
-
Hi! While I know linking to the source code is an indication that things could be documented better, here we go. The dates get parsed here: Lines 159 to 160 in d05c34e So the format used to parse dates is actually configurable. Here's the default: beets/beets/config_default.yaml Line 108 in d05c34e So if you're interested in dropping the time part, you might consider changing that config option. |
Beta Was this translation helpful? Give feedback.
Hi! While I know linking to the source code is an indication that things could be documented better, here we go. The dates get parsed here:
beets/beets/library.py
Lines 159 to 160 in d05c34e
So the format used to parse dates is actually configurable. Here's the default:
beets/beets/config_default.yaml
Line 108 in d05c34e
So if you're interested in dropping the time part, you might consider changing that config option.