Results 1 to 5 of 5

Thread: Local timezone for Users?

  1. #1
    Registered Member
    Join Date
    Jun 2002
    Posts
    156

    Default Local timezone for Users?

    Any idea's on this.

    setup a local time zone in users accounts to over-ride the server settings.

    we tried a file in

    /home/user/etc/profile

    TZ='Country/City'
    Export TZ


    didn't work, appreciate any feedback.

    thanks.

    cPanel.net Support Ticket Number:

  2. #2
    Registered Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,332

    Default Re: Local timezone for Users?

    Originally posted by hostcp3
    Any idea's on this.

    setup a local time zone in users accounts to over-ride the server settings.

    we tried a file in

    /home/user/etc/profile

    TZ='Country/City'
    Export TZ


    didn't work, appreciate any feedback.

    thanks.

    cPanel.net Support Ticket Number:
    Howdy!

    What's it for? If it's for cgi, lots of programs allow you to set the time and date, so it shouldn't be that hard to add it in...

    cPanel.net Support Ticket Number:

  3. #3
    Registered Member
    Join Date
    Jun 2002
    Posts
    156

    Default

    Hey Casey

    we need this so that any programs running off that user account will use the time zone we specify.

    Instead of the default server time zone, and without having to modify any forums or scripts loaded into that particular account.

    some servers have clients from across the globe, letting them specify time zone would be good.

    thanks.

    cPanel.net Support Ticket Number:

  4. #4
    Registered Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,332

    Default

    Hmm. Here's a link for Debian:
    http://sophia.jpte.hu/linux/sag/node93.html

    Perhaps in the case of RedHat it would be a symlink from home/usr/etc/localtime to /usr/share/zoneinfo/LOCALTIMEZONE

    cPanel.net Support Ticket Number:

  5. #5
    Registered Member manokiss's Avatar
    Join Date
    Mar 2002
    Posts
    554

    Default

    hi, just wondering if you did find a way to do this, we also need change one of the users timezone in his account.

    Thank you!

Similar Threads

  1. Default timezone and date.timezone
    By Astral God in forum General Discussion
    Replies: 1
    Last Post: 12-31-2012, 02:18 AM
  2. Local users folder php.ini settings
    By chrismfz in forum General Discussion
    Replies: 3
    Last Post: 04-06-2009, 04:53 PM
  3. Replies: 0
    Last Post: 09-16-2007, 10:15 AM
  4. mailscanner and local users/domains
    By Harryhood in forum General Discussion
    Replies: 0
    Last Post: 01-06-2006, 08:56 AM
  5. Way to change timezone for end-users?
    By Eyecannon in forum General Discussion
    Replies: 6
    Last Post: 08-05-2002, 12:08 PM
bargain