Squids 3.5.12 error message page displays the wrong time.
How do I change the time environment variable not to use GMT but the local time. I have Ubuntu Server 16.04 installed and Squid 3.5.12. When I go to a website this is restricted or denied an Error page is generated and at the bottom of the Error Page Squid generates the following message: Generated Mon, 03 Apr 2017 01:14:53 GMT by The*Proxy (squid/3.5.12). My time is Los Angeles and my current time is Local time is now: Sun Apr 2 18:01:55 PDT 2017. Current default time zone: 'America/Los_Angeles' But if you notice the message generated by Squid, it not only is 6 hours ahead of my time but that actual date is off.
I read where I could add a line in the ~/.bashrc, TZ='America/Los_Angeles'; export TZ, that did not work. I read where the TZ environment variable could be changed. The problems is I don't know how to change the Time or TZ environment variable.
But it is obvious that the Squid Proxy Software is using GMT and my local machine is using local time. I am also using ntp and ntpdate, both are using the correct time. Can you help me?
|