View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - First day of the week - ProjeQtOr
 
 

First day of the week

More
11 Dec 2018 15:28 #1 by mohamedabdelwahed
Gentlemen ,
Off days are Friday and Saturday which is set in the global parameters , However in the time sheet still Monday is the first day of the week , How can this be solved.
Regards

Please Log in or Create an account to join the conversation.

More
11 Dec 2018 15:41 #2 by babynus
Replied by babynus on topic First day of the week
Timesheet screen does not depend on off days.
I always start on monday...

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
12 Dec 2018 11:29 #3 by mohamedabdelwahed
You always start on Monday because it is the first working day in Europe and USA , In the middeleast the first day working day is Sunday and some places it is Saturday , Can enhancement be added to this area allowing you to choose the first day appearing in the week of time sheet

Please Log in or Create an account to join the conversation.

More
12 Dec 2018 12:01 #4 by babynus
Replied by babynus on topic First day of the week
Hi,

The request already exists in the roadmap (#2704) with low priority (high cost, low benefit)

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
27 Jul 2020 13:03 #5 by ma_bou
Replied by ma_bou on topic First day of the week
Hello,

I'm looking to modify the code myself to implement that function since it will be easier for our organization.

Could you point me out where to start looking since projeqtor is a big project.

Regards

Please Log in or Create an account to join the conversation.

More
28 Jul 2020 09:21 #6 by babynus
Replied by babynus on topic First day of the week
Unfortunately it(s not an easy piece of cake.
There are many places where "firt day of week" is important.

Maybe you can have a look at function
function firstDayofWeek($week=null, $year=null) {
because this, at least, will have to be changed.

But it's not the only one. Have a look at
function lastDayofWeek($week=null, $year=null) {
function weekNumber($dateValue) {
function weekFormat($dateValue) {
function getWeekNumberFromDate($date) {
and possibly other functions (at least all thoose who deal with week)

Andd there you'll have to investagate everywhere thoose functions are called to check how their result is used...

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.040 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.