Hi everyone,
I recently found a bug in LiveData which can only be fixed if we know the actual timezone of the current user (see Loading...). Technically it’s not an issue, but then @Oana-Lavinia_Florean told me that she had same need for a piece of javascript with Lightbox. And more generally we might have same need for any date manipulation in javascript.
So I’m thinking that it could be good to always have the info available in the DOM at a single place: hence the proposal to add that info in xwiki-meta and document it as part of https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/FrontendResources/JavaScriptAPI/#HGetsomeinformationaboutthecurrentdocument
The only thing that I find slightly annoying here is that right now it’s documented as being “Information about the current document” and here I want to put “Information about the current user”.
wdyt?