On 12/09/2010 11:06 AM, Paul Harris wrote:
On 9 December 2010 17:02, Marius Dumitru Florea< [email protected]> wrote:
On 12/09/2010 10:43 AM, Paul Harris wrote:
On 9 December 2010 16:13, Marius Dumitru Florea< [email protected]> wrote:
Hi Paul,
On 12/09/2010 04:45 AM, Paul Harris wrote:
On 9 December 2010 10:02, Paul Harris<[email protected]> wrote:
On 9 December 2010 09:49, Paul Harris<[email protected]> wrote:
> I think there is still a bug in there. See this line: > > #set($hqlQuery = ", XWikiRCSNodeInfo as ni where doc.id =ni.id.docId and > ni.id.version2=1 group by doc.space, doc.name order by max(ni.date) > desc") > > With this, I was only seeing the XWiki* page changes (which date back a > few years), and none of mine. > > I changed version2=1 to version2<> 1 and now i can see my pages. > > Is this correct? What is "version2" ? > > Also, I was looking through the sql db, and noticed that in xwikircs, > there are a lot of negative IDs in xwr_docid ... is this correct? sounds > weird to me. > > thanks > Paul > >
I also added: and ni.author<> 'superadmin' otherwise you get a lot of "Watchlist" changes in the timeline...
I'm getting this message in the webserver logs: 2010-12-09 10:29:40,366 [
http://domain.com/xwiki/Website+Admin/Timeline?action=xml&xpage=plain&output...
]
WARN internal.DefaultVelocityEngine - Deprecated usage of method [java.util.Date.toGMTString] in xwiki:Website Admin.Timeline@16,27
I had a go at fixing it, but I don't know enough Java yet.
See
http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html#toGMTSt...
it's deprecated.
Hope this helps, Marius
Can you tell me what it is supposed to be changed to? I tried changing it to DateFormat but I am not familiar with the API and it wouldn't work.
I updated the code snippet. I used $datetool to format the date. It doesn't use GMT timezone but I hope it's fine. Let me know if you have problems. I haven't found a way to create a GTM timezone in velocity so far.
also, I have adjusted the Timeline page, and added a comment. Timeline
is
now nicer to use :) (IMHO) http://extensions.xwiki.org/xwiki/bin/view/Extension/Timeline
Thanks, Marius
Thanks for that.
There is another problem that you might have missed buried in this email thread, here it is again:
I just created a new space,
Then, I noticed on the "Recent Changes" section of the front page that the space was created 6 hours ago. Is this a UTC/GMT thing? But that doesn't make any sense either, because local time is 2pm, UTC is earlier at 6am (which is 8 hours ago).
All dates are formatted in the timezone of the server, not the timezone of the machine where the web browser runs. There should be a way to configure the timezone of the server to match, as much as possible, the timezone of the common clients. Hope this helps, Marius
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users