I assume if I de-select UTC, fossil will still use UTC in the database but show 
local time zone on timeline.
Correct?


> ----- Original Message -----
> From: Gé Weijers
> Sent: 08/21/11 09:36 PM
> To: fossil-users@lists.fossil-scm.org
> Subject: Re: [fossil-users] Timestamps should be in local time.
> 
> On Sat, 20 Aug 2011, Vikrant Chaudhary wrote:
> 
> > Timestamps should be recorded in local timezone rather than in UTC.
> > 1. It hurts eyes and brain to see the time in UTC and then calculate
> > it in local time.
> > 2. For forensics. I'll be able to know which timezone I was while
> > committing that change.
> > And we can always calculate the UTC time anyway. And by storing the
> > time in local time we'll only gain the timezone information in history
> > and loose nothing.
> 
> Re: 1) as others have pointed out: this is configurable through the UI.
> 
> Re: 2) If there is a convincing use case for your proposal I would store 
> the time stamp in UTC and store the time zone separately (offset in 
> minutes from UTC). Currently fossil can just use an SQL 'ORDER BY' clause 
> to retrieve commits etc. in order, using local time stamps would make that 
> more painful and definitly slower (you cannot create a simple index for 
> that)
> 
> Gé
> 

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to