delcroip / dolibarr_project_timesheet

Timesheet view for project in Dolibarr
https://demo-timesheet.pmpd.eu
GNU Affero General Public License v3.0
36 stars 32 forks source link

Issue with closing days (jours fériés) #189

Open matll42 opened 2 years ago

matll42 commented 2 years ago

Hi, I have two closing days coming in next days and both are not shown at the right date

Here is the configuration inside of dictionnary

image

Case 24th of June : 1 day earlier

image

Case 1st of July : shown outside of the week

image image

Dolibarr 15.0.1 module 4.5.1

delcroip commented 2 years ago

thanks for reporting the issue, I 'll have a look, does this issue append without the split week display ?

matll42 commented 2 years ago

Without the split view, I have the same behaviour as the first case : 1 day earlier image

delcroip commented 2 years ago

Hi, I cannot replicate the issue, can you try with the latest version 4.5.3 ? Another possibility could be related to you server or MySQL time

br

matll42 commented 2 years ago

Hi, Same issue with versions 4.5.3 and 4.5.4

My ubuntu timedatectl is

               Local time: Wed 2022-06-29 17:47:30 EDT 
           Universal time: Wed 2022-06-29 21:47:30 UTC 
                 RTC time: Wed 2022-06-29 21:47:31     
                Time zone: America/Toronto (EDT, -0400)
System clock synchronized: yes                         
              NTP service: active                      
          RTC in local TZ: no  

and I'm using PostgreSQL instead of MySQL

I previously had EDT/UTC in my postgres timezone, fixed it with America/Toronto, but both issues are still here

postgres=# show timezone;
    TimeZone     
-----------------
 America/Toronto
(1 row)
delcroip commented 2 years ago

I really don't see how I can help if I cannot reproduice the issue

delcroip commented 1 year ago

is it still the case with the latest version, I think I fixed that bug (someone else reported something alike and I found the issue)

matll42 commented 1 year ago

Hi, with dolibarr v17.0.1 and Timesheet v4.6.7, the same issue is still happening (also timesheets are submitted and validated, but I think it will stay dynamic anyway.

matll42 commented 1 year ago
image

To illustrate, holiday is 22/05/2023

image
delcroip commented 3 months ago

is this fixed on latest version ?