I'm looking for an easy/elegant way to handle incomplete dates with the struct plugin.
I'm using DokuWiki to structure my files and data pertaining to my writing, so I have several characters and events that are assigned some data - in this specific case, dates. However, I also have quite a few incomplete dates, due to the fact that a lot of that data is a wip, so I may know "this event is supposed to happen in year X" or I know "it was month Y in year X" or it is just "it was day Z of month Y".
For now, since I'd have "blank" values which is, as far as I know, not possible to handle with a normal date format, I split the information into three separate values that make up a date: day, month and year. This means, I need to include all three in any type of lookup for dates, which is tedious/a potential source for errors. It works so far, but it's just not the most elegant of solutions.
Now, I'm looking for a potentially easier solution to this. I know that handling dates is tricky at the best of times, but if there was a way to handle the four types of dates I could have (yyyy | mm/yyyy | dd/mm | dd/mm/yyyy = the types of date I currently have to handle) in a way that would reduce the need to always have to query all three values separately, it'd be a lot easier on me.
Does anyone have any ideas how this might be implemented?