Dates in a request off by one

Home Forums HRM Dates in a request off by one

Viewing 3 reply threads
  • Author
    • #76126

      When I make a leave request say from 6 to the 10 July.
      The dates show up as from the 5 July to the 9 July before the request is submitted
      In the demo on WR-ERP website the dates show up correctly so there must be something different I have done but I cannot find it

    • #76129

      Hello Feisal

      I understand the problem and that can happen when it doesn’t match the followings:

      1. Your site timezone
      2. Your computer set timezone
      3. Your server timezone

      These 3 need to match. Otherwise, these kinds of problems can happen. I can assure you it’s not a problem with the WPERP core.


    • #76136

      In /usr/share/wordpress/wp-settings.php, I changed
      date_default_timezone_set( ‘UTC’ );
      date_default_timezone_set( ‘America/Port_of_Spain’ );

      The dates work correctly now.
      Thank you

    • #115538

      Hello there,

      I hope you guys are doing well.
      This forum has been closed. Please feel free to contact us directly-> so that we can help you soon.


Viewing 3 reply threads
  • The topic ‘Dates in a request off by one’ is closed to new replies.

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We received your query

We will reply to you very soon :)