Giter VIP home page Giter VIP logo

Comments (5)

andrew867 avatar andrew867 commented on August 30, 2024

The client timezone option only affects when a user is viewing the site. When the option is on the Timeclock sets a cookie to the client browsers timezone offset. This only changes the way times are viewed not stored, all in/out times are stored as a GMT unix timestamp in the database.

To turn it on set the options in the main config file like this:
$use_client_tz = "yes";
$use_server_tz = "no";

Really the timezone offset should be set per user account that way if an Admin views their timesheet it shows in the client's local time.

from timeclock.

mckinleysh27 avatar mckinleysh27 commented on August 30, 2024

I'm getting a lof mixed results with this...the time run on my reports are correct, but the times listed in the report are still GMT....o_0

It seems like no matter what I have set the times are displayed in GMT on timeclock.php and in reports...any tips?

from timeclock.

mckinleysh27 avatar mckinleysh27 commented on August 30, 2024

Furthermore I can manually adjust the $tzo variable in functions.php and this has no effect on the way the time is displayed in reports and in the timeclock.php screen...I know the variable is getting parsed because when I echo the tzo variable it prints what I set it to.

from timeclock.

benscanfiles avatar benscanfiles commented on August 30, 2024

I believe much of these issues are part and parcel of: #17

from timeclock.

boelle avatar boelle commented on August 30, 2024

@andrew867 still arround? i have opened a few other issues and wonder if there are some of the @Collaborator that know how to fix them?

Maybe i'm able to throw some money after it, but will have to ask my boss first

from timeclock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.