On 05/04/2010 08:31 PM, Ludovic Dubost wrote:
>
> Denis,
>
> I've made fixes to the SVN application. I think I handle history
> correctly now. It was due indeed to code for handling attachments which
> lead to bad history code. I've now mimicked what we do in the XWiki import.
>
> I've also added some warning for missing programming rights.
>
> I've found another issue concerning the "defaultDate". Depending on the
> Timezone of your wiki it will give different results and can lead to
> detecting differences in the code.
>
> I think we should handle this date as a GMT date/time or add time and
> timezone to it or add a specific setting for the timezone.
>
> WDYT is the best option ?

Not specific to the SVN application, but IMHO all dates should be stored 
as UTC internally, and only the UI display should convert to the 
*user's* timezone.

So, data=UTC, UI=user timezone

But this change is deeper and requires lots of changes in the core. Just 
something to keep in mind.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to