Git Product home page Git Product logo

Comments (7)

fsi2000 avatar fsi2000 commented on July 18, 2024 1

Hi, have you checked Application Management->Schedules. There you can set the first day of the week. Click on "Sunday" and change it.

from app.

treborin avatar treborin commented on July 18, 2024

UPDATE:
I hve found this:
File Controls/DatePickerSetupControl.php, If you change on line 49 the value of 'FirstDay' to 1 (it's set to 0 by default), then you get datepickers form fields starting from monday:
$this->SetDefault('FirstDay', 1);

But view-shedule.php and view-calendar.php do not start on monday with this mod. So these files get var FisrtDay from another place. Let´s continue searching... :)

from app.

treborin avatar treborin commented on July 18, 2024

@fsi2000 Done! You are right. I missed that. Too many options 👍
Thanks

UPDATE:
Mmmm.... there i selected option "satrting from today", because i want the resources shown under that 3 datepickers "starting from today" and not from monday. If you change this to "monday", datepickers are ok the way i want, but the resouces starts on monday too. And i do not want to show past days there.

from app.

aliciarf2611 avatar aliciarf2611 commented on July 18, 2024

Hi, for view-shedule.php and view-calendar.php i just modify tpl/Calendar/Calendar-page-base.tpl substituing firstDay: {$FirstDay} by firstDay: 1. (Don't forget to flush cached files later)

from app.

treborin avatar treborin commented on July 18, 2024

Thanks @aliciarf2611, that mod solves the view-calendar.php 👍.
Regarding view-shedule.php, if you set it in shedules configuration to starts on "Today" (as i need), the 3 small datepicker calendars on top steel shows sunday as the first day of the week.

from app.

aliciarf2611 avatar aliciarf2611 commented on July 18, 2024

I also have the schedules on 'today' and I see the calendars of the schedule.php inside the datepicker starting on Monday. sorry, I have inherited a code with changes and maybe we don't have the same version.

from app.

treborin avatar treborin commented on July 18, 2024

thanks @aliciarf2611. I use 2.8.5
I've made some modifications for my needs, but the base code is 2.8.5
There must be a way to solve it and i continue searching inside app code. Once i have it, i'!! report here

from app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.