In case anyone ever runs into this issue (an xinetd env issue), the
solution is to add the following to your service:

server = /usr/local/bin/fossil
> server_args = http REPOSITORY
> env = TZ=PST8PDT (insert your timezone here)



On Wed, Sep 5, 2012 at 2:11 AM, E. Timothy Uy <[email protected]> wrote:

> In xinetd, I am calling "fossil http". Perhaps this is the problem. Doubly
> embarassed that I can't spell embarrassed.
>
>
> On Wed, Sep 5, 2012 at 1:57 AM, E. Timothy Uy <[email protected]> wrote:
>
>> Using both "fossil ui" and "fossil server" give the right times. It must
>> be that I'm doing something wrong with xinetd. Embarassed...
>>
>>
>> On Wed, Sep 5, 2012 at 1:51 AM, E. Timothy Uy <[email protected]> wrote:
>>
>>> I take that back. On my PC the fossil sqlite also gives the wrong time
>>> but fossil ui gives the right timeline when UTC is unchecked. Now truly
>>> puzzled. Could it be because I am using server instead of UI?
>>>
>>> On Wed, Sep 5, 2012 at 1:32 AM, E. Timothy Uy <[email protected]> wrote:
>>>
>>>> I'm using the webserver. On my PC it works right, and "fossil sql"
>>>> gives the right date. I think this is purely an issue with how the apt-get
>>>> version of fossil for Ubuntu was compiled.
>>>>
>>>>
>>>> On Wed, Sep 5, 2012 at 1:30 AM, Christopher Vance 
>>>> <[email protected]>wrote:
>>>>
>>>>> If you're using the web interface, did you restart the server?
>>>>>
>>>>> On 5 September 2012 18:26, E. Timothy Uy <[email protected]> wrote:
>>>>> > Hi, on my PC, the fossil ui shows the correct local time when I
>>>>> uncheck UTC.
>>>>> > However, in Ubuntu, unchecking the UTC flag does not make a
>>>>> difference, it
>>>>> > keeps showing UTC. I've checked and my machine has the right
>>>>> timezone.  Any
>>>>> > tips?
>>>>> >
>>>>> > Current default time zone: 'America/Los_Angeles'
>>>>> > Local time is now: Tue Sep 4 17:11:55 PDT 2012
>>>>> > Universal time is now: Wed Sep 5 00:11:55 UTC 2012
>>>>> >
>>>>> > The problem appears to be inside the fossil sqlite engine (fossil
>>>>> sql) I got
>>>>> > from "apt-get install fossil". SELECT datetime('now','localtime')
>>>>> returns
>>>>> > the UTC time. The "apt-get install sqlite" version of sqlite does
>>>>> yield the
>>>>> > right time.
>>>>> >
>>>>> > Thanks in advance.
>>>>> >
>>>>> > Respectfully,
>>>>> > Tim
>>>>> >
>>>>> > _______________________________________________
>>>>> > fossil-users mailing list
>>>>> > [email protected]
>>>>> >
>>>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Christopher Vance
>>>>> _______________________________________________
>>>>> fossil-users mailing list
>>>>> [email protected]
>>>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>>>>
>>>>
>>>>
>>>
>>
>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to