Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calender timeline must have 53 weeks #1801

Open
markus-kessler opened this issue Dec 7, 2020 · 11 comments
Open

Calender timeline must have 53 weeks #1801

markus-kessler opened this issue Dec 7, 2020 · 11 comments

Comments

@markus-kessler
Copy link

As you can seee a screenshot from my GanttProject timeline with 52 weeks.
But this year has 53 weeks as you can see at the Outlook Calender Screenshot.

I did not find a setting in GanttProject like in Outlook.

gantt-timeline

outlook-calender

@dbarashev
Copy link
Contributor

It works fine in my GanttProject with German translation.
Please share the log file to be able to detect what's wrong in this case. Help > View log

@markus-kessler
Copy link
Author

markus-kessler commented Dec 7, 2020 via email

@dbarashev
Copy link
Contributor

Thanks!
Can you please check if it is reproducible in the beta of GP 3.0? You can download it from https://www.ganttproject.biz/download#download30

@markus-kessler
Copy link
Author

markus-kessler commented Dec 7, 2020 via email

@5pekkie
Copy link

5pekkie commented Jan 19, 2021

I downloaded the version dbareshev recommended (and also run the update) but I still don't have week 53 displayed.

here is my log file
C:\Users\admin\ganttproject.log

GanttProject 3.0.2917
Settings file:
location: C:\Users\admin.ganttproject
size:5487
is readable: true
java.class.path: eclipsito.jar;C:\Program Files (x86)\GanttProject-3.0
java.home: C:\Program Files (x86)\GanttProject-3.0\runtime
java.ext.dirs: null
java.io.tmpdir: C:\Users\admin\AppData\Local\Temp
java.runtime.version: 11.0.9.1+1-LTS
java.vendor: BellSoft
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.vendor: BellSoft
java.vm.version: 11.0.9.1+1-LTS
os.arch: amd64
os.name: Windows 10
os.version: 10.0
sun.java.command: com.bardsoftware.eclipsito.Launch --verbosity 1 --version-dirs plugins;~/.ganttproject.d/updates --app net.sourceforge.ganttproject.GanttProject
user.country: US
user.dir: C:\Program Files (x86)\GanttProject-3.0
user.home: C:\Users\admin
user.language: en
user.timezone: Europe/Berlin

Jan 19, 2021 9:18:42 AM net.sourceforge.ganttproject.GPLogger log
INFO: Deleting old auto-save files
Jan 19, 2021 9:18:43 AM biz.ganttproject.LoggerImpl debug
FINE: Creating main frame...
Jan 19, 2021 9:18:43 AM biz.ganttproject.LoggerImpl debug
FINE: 1. loading look'n'feels
Jan 19, 2021 9:18:43 AM biz.ganttproject.LoggerImpl debug
FINE: 2. loading options
Jan 19, 2021 9:18:43 AM biz.ganttproject.LoggerImpl debug
FINE: 3. creating menus...
Jan 19, 2021 9:18:43 AM biz.ganttproject.LoggerImpl debug
FINE: 4. creating views...
Jan 19, 2021 9:18:44 AM biz.ganttproject.LoggerImpl debug
FINE: 5. calculating size and packing...
Jan 19, 2021 9:18:44 AM biz.ganttproject.LoggerImpl debug
FINE: 6. changing language ...
Jan 19, 2021 9:18:44 AM biz.ganttproject.LoggerImpl debug
FINE: 7. first attempt to restore bounds
Jan 19, 2021 9:18:44 AM biz.ganttproject.LoggerImpl debug
FINE: 8. finalizing...

@markus-kessler
Copy link
Author

Hi 5pekkie,

year 2021 has got 52 weeks only. That is correct.

Regards
Markus

@5pekkie
Copy link

5pekkie commented Jan 19, 2021

image
Yeah but because 2020 has got 53 weeks, week 1 from 2021 starts wrong

@markus-kessler
Copy link
Author

ok, thats the same problem I have had. After installing version 2.99.2913 it works. I have no more idea. sorry.

@dbarashev
Copy link
Contributor

user.language: en

This interface language implies English (US) and uses the US calendar conventions. In US week # 1 starts in December.
If you want English interface language and European conventions about the first week, change the language to English (UK).

@5pekkie
Copy link

5pekkie commented Jan 19, 2021

Can't get it right
I've tried to set the language (and region) to UK but it keeps saying user.language: en, user.country does change to GB.
Even reinstalling GanttProject does not fix it.
Also tried to set it to dutch, but even that don't help.

user.country: NL
user.dir: C:\Program Files (x86)\GanttProject-3.0
user.home: C:\Users\admin
user.language: nl
user.timezone: Europe/Berlin

@tomgru
Copy link

tomgru commented Mar 18, 2021

same problem here. I am using 3.0.3004 on macOS.

Current week is WK11, but Gantt says it is WK12. How can I fix this?

Screenshot 2021-03-18 at 12 25 06

many thanks,
tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants