Hi Mario, Joshua
@Mario, thanks for your detailed response.
I'm in any way trying to challenge the fact that TiddlyWiki has no built-in datepicker functionality. I understand why it doesn't and it makes perfect sense. It would be a complex undertaking that is unlikely to meet all needs. In fact, I think that TW is actually better off without a built-in datepicker widget (less likelihood of bloat, increased bite-size as you mentioned due to various locale settings etc. and also no maintainability requirements). But the building blocks are there, so individual solutions can be built on top of the pure HTML functionality that is inherent to TW.
I was more trying to understand whether relying on the pure HTML implementation can cause problems in itself, other than consistency/compatibility. These problems could be, for instance, that in one browser/OS combination the output of <input type="date"/> would be YYYY-MM-DD and in another browser/OS combination it could be YYYY/MM/DD etc., which would create problems in that the output would need to be parsed (by filters for instance) differently depending on those combinations so that the output is made consistent with the TW format of YYYY0MM0DD0hh0mm0ssXXX before being usable. So, it might need to be more "hacky" than it should.
BTW, the browser/OS combination is something I haven't tested yet but assume that the output of <input type="date"/> could indeed have inconsistent formatting depending on browser/OS combination. This would then create problems even for personal wikis if used on different devices.
@Joshua, thanks for responding from a technical perspective.
I wasn't aware that the <input/> HTML entity can be removed from the DOM on refresh but widgets can actually withstand refreshes. I guess that we could work around that to some extent but again I'm not sure if it's worthwile. Anyway, thank you for linking to the additional resources, I'll have a read.
Regards,
-Hubert