List Info

Thread: Re: default_timezone and Trac 0.9




Re: default_timezone and Trac 0.9
country flaguser name
United States
2007-08-23 13:11:43
Hi Noah, not quite sure what you mean here. ; Could you elaborate?

I was under the impression that a global default_timezone setting was in effect when you're talking about Trac from before 0.11 since the timezone settings patch wasn't really integrated into the product until recently (based on what I can tell from the archeology).  Is that not the case? ; Specifically for 0.9.6, what would one do if you wanted to either globally set the timezone specifically or (if there is a per user patch - that either didn't exist at all until recently or was removed from trac-hacks because it became an official part of the build) use a per-user type of setting?

I don't have privileges to change the timezone on the machine itself.  I only have access to my individual trac environments on this shared server, and the ability to upload eggs into the plugins directory.

Thanks,

Vincent

----- Original Message ----
From: Noah Kantrowitz <kantrnrpi.edu>;
To: trac-usersgooglegroups.com
Sent: Thursday, August 23, 2007 11:06:51 AM
Subject: [Trac] Re: default_timezone and Trac 0.9


The per-user timezone stuff requires trunk.

--Noah

cobwebsmasher wrote:
>; I am running Trac version 0.9.6 and I am trying to change the default_timezone but it's unclear to me what trac.ini setting and values are reasonable here.
>
> Digging around google and Trac's site itself led me to believe that the following was valid
>
> [trac]
>; default_timezone =
>
>; When I did some scraping around in the trac codebase installed on this shared server, it seemed like entries like GMT-7 or PDT would work here, but I am not seeing the timestamps change in my system even when I restart tracd using those values.&nbsp; Still looking to see where default_timezone might even be used back in the day.
>
> Any ideas?&nbsp; Should I start checking out the SVN repository for builds back in the day?  
>
> Thanks,
&gt;
> Vincent
&gt;
>
>;
; &nbsp; &nbsp; &nbsp; 
> ____________________________________________________________________________________
&gt; Got a little couch potato?
> Check out fun summer activities for kids.
> http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
> >
>
> &nbsp;



Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users"; group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---
Re: default_timezone and Trac 0.9
country flaguser name
Germany
2007-08-23 18:04:09
Hi Vincent,

I've in the apache config for Trac 0.9.3, maybe it helps:

       <Location
"/cgi-bin/trac-moodle.cgi">
                SetEnv TRAC_ENV
"/my/path/to/trac/env"
                SetEnv LC_TIME "de_DE.UTF8"
        </location>

Found it in some forum or in this list, I don't remember.

Have fun,

	Herbert.

Email von cobwebsmasher von Donnerstag, 23. August 2007:
> I was under the impression that a global
default_timezone setting was
> in effect when you're talking about Trac from before
0.11 since the
[...]
> 
> cobwebsmasher wrote:
> > I am running Trac version 0.9.6 and I am trying to
change the
> > default_timezone but it's unclear to me what
trac.ini setting and
> > values are reasonable here.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: default_timezone and Trac 0.9
country flaguser name
United States
2007-08-23 21:29:00
Thanks for the apache information.  Unfortunately my
situation isn't
quite so simple.  My Trac instance is hosted at Textdrive,
so I am
limited to using Trac 0.9.6.  On top of that, we must use
tracd and so
our Apache instance is only allowed to use mod_rewrite to
forward
requests from say:  domain.com/trac to domain.com:[port that
tracd is
listening to]/trac

Because of the lockdown of this server, I can't modify the
Locale
settings as far as I can tell, so I'm trying to determine
whether or
not a setting actually exists to globally offset the
timezone of the
server as seen by Trac (i.e. it defaults to UTC and we want
UTC-7
(PDT, I believe).  I know that such an animal exists in 0.11
on a per-
user basis, but I would be happy with a global setting if
that
existed.

In Trac-hacks, it was implied that there was a code patch
once upon a
time for 0.9 and 0.10, but either that was vaporware or it
was torn
down prematurely in favor of the new code submitted for Trac
0.11.

Any thoughts would be appreciated.

Vincent

On Aug 23, 4:04 pm, Herbert Thielen <trac-us...thielen-home.de>
wrote:
> Hi Vincent,
>
> I've in the apache config for Trac 0.9.3, maybe it
helps:
>
>        <Location
"/cgi-bin/trac-moodle.cgi">
>                 SetEnv TRAC_ENV
"/my/path/to/trac/env"
>                 SetEnv LC_TIME "de_DE.UTF8"
>         </location>
>
> Found it in some forum or in this list, I don't
remember.
>
> Have fun,
>
>         Herbert.
>
> Email von cobwebsmasher von Donnerstag, 23. August
2007:
>
> > I was under the impression that a global
default_timezone setting was
> > in effect when you're talking about Trac from
before 0.11 since the
> [...]
>
> > cobwebsmasher wrote:
> > > I am running Trac version 0.9.6 and I am
trying to change the
> > > default_timezone but it's unclear to me what
trac.ini setting and
> > > values are reasonable here.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Users" group.
To post to this group, send email to trac-usersgooglegroups.com
To unsubscribe from this group, send email to
trac-users-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )