OpenCATS 0.9.4-3

Free, Open-Source Applicant Tracking System including job-board. Entirely customisable!

Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
By dcdefiore_reiss
#4109
Good Morning,

I've installed and am customizing and configuring OpenCATS. Love it so far.

I've run into a problem with timezones though that I'm trying to figure out.

It's currently 8AM EST where I am. I'm running OpenCATS on an Ubuntu Server.

helpdesk@cen-s-web01:~$ date
Tue Mar 12 08:00:00 EDT 2019

PHP has the date correct as well:
Tuesday 12th of March 2019 08:00:00 AM

Now, if I have CATS set to an Offset of -5, emails that utilized %DATETIME% show the correct time, but the activity log inside of CATS shows a time of 4 hours in the future. So my 08:00:00AM activity shows up as 12:00:00 PM. If I change the offset in CATS to -9, the activity log shows the correct time, but the %DATETIME% variable that goes out in an email is messed up.

Any ideas?
By dcdefiore_reiss
#4111
So I suppose the function getAdjustedDate from DateUtility uses the system time, but my system time is correct. So I changed the function by removing the addition of the TimeZoneOffset

From lib\DateUtility.php
Code: Select all
public static function getAdjustedDate($format = 'U', $date = false)
    {
        if ($date === false)
        {
            $date = time();
        }

        $unixTime = mktime(
            date('H', $date), //+ $_SESSION['CATS']->getTimeZoneOffset(),
            date('i', $date),
            date('s', $date),
            date('m', $date),
            date('d', $date),
            date('Y', $date)
        );

        return date($format, $unixTime);
    }

I need your help to change the opencats image with[…]

I need your help to change the opencats image with[…]

I need your help to change the opencats image with[…]

change the Title or a cats install

http://ww2.wiki.sidsolutions.org:8888/i ... e_Bran[…]

SSL - Cats Footer Image

Please Help me , I need to change the logo of open[…]

From where you are trying to looking? You can buy[…]

Email Integration

where I should upload this file :? :? :? :? :?[…]

Job Order Export

Hi RussH, any chance of getting a reply about thi[…]

Unable to edit Candidates

I have have freshly installed openCATS have set my[…]

How to install OpenCats on hostinger?

I have PHP 5.6 and I uploaded the OpenCats folder […]

how to "delete" a user

Thanks for the reply The thread op asked about de[…]

Yes it is possible. But you have to dug into the s[…]

It need to be exceptionally truthful to export the[…]