Date format: "1947-06 - 1947" => June 31st?
I know fuzzy date ranges are always fun and tricky, but we'd like to depict that it "started on June 1947 and ended sometime in the same year"
I tried the following:
1947-06 - 1947
CA interprets it as:
June 1 – 31 1947
Except for the error that "June 31st" does not exist:
Is our initial intention somehow possible?
Thank you very much in advance!
Comments
It's translating the trailing 1947 to 12/31/1947 as it should. But the display text is clearly incorrect.
I seeee!
So it's trying to say: "
June 1 - December 31 1947
"?Hm... But wouldn't that give the wrong impression that we knew the end-date, rather than preserving the fuzzyness that was entered (
1947-06 - 1947
)?Well it's totally wrong and we'll fix it.
What I was trying to communicate is that the logic is an unbounded end year goes to 31 December @ 23:59:59. The fuzziness is in the display. For searching and browsing there needs to be an actual value somewhere. At the end of the day, this isn't philosophy.
The pull request https://github.com/collectiveaccess/providence/pull/745 fixes this issue (and a couple of others) in the develop branch. It'll also be in the next 1.7.9rc.
These changes have been made in the develop (1.8) branch as well as master branch (1.7.9), and will be in the next releases.
There a new 1.7.9rc that includes a fix for this and changes to the "After 2020-04" date expression behavior.
https://github.com/collectiveaccess/providence/releases/tag/1.7.9rc4