dolibarr-git
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-git] [Dolibarr/dolibarr] 3dd9d4: Fix wrong approve time in exp


From: Laurent Destailleur
Subject: [Dolibarr-git] [Dolibarr/dolibarr] 3dd9d4: Fix wrong approve time in expense report
Date: Thu, 29 Mar 2018 04:40:34 -0700

  Branch: refs/heads/7.0
  Home:   https://github.com/Dolibarr/dolibarr
  Commit: 3dd9d47089271e26a20f9cb0a69375e37df4e64f
      
https://github.com/Dolibarr/dolibarr/commit/3dd9d47089271e26a20f9cb0a69375e37df4e64f
  Author: Sean Wang <address@hidden>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M htdocs/expensereport/class/expensereport.class.php

  Log Message:
  -----------
  Fix wrong approve time in expense report

The approve time showed was 8 hours more than the real time.
Checking database turned out that it had the wrong data(+8 hours).

After checking every timezone related settings were correct,
I found that it do twice idate() in setApproved().
Since we have idate() in $sql, we don't need the idate()
at the line 1249.


  Commit: 839ebb428bb24488d55fb0608f7adcda693f067c
      
https://github.com/Dolibarr/dolibarr/commit/839ebb428bb24488d55fb0608f7adcda693f067c
  Author: Laurent Destailleur <address@hidden>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M htdocs/expensereport/class/expensereport.class.php

  Log Message:
  -----------
  Merge pull request #8477 from ggg44473/7.0

Fix wrong approve time in expense report


Compare: 
https://github.com/Dolibarr/dolibarr/compare/92cbcd9ccb09...839ebb428bb2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]