Announcement

Collapse
No announcement yet.

Calendar hide weekend days

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calendar hide weekend days

    Hi Guys,

    is there anyway to hide the weekend days (Saturday/Sunday) on the calendar so that the calendar would only show working days from Monday to Friday ? is this possible and if yes how it can be done.

    Thanks
    Rabii
    Web Dev

  • #2
    Hi,

    There's no upgrade-safe way.



    Whether to include Saturday/Sunday columns in any of the calendar views.


    Try adding an option weekends: false,

    Comment


    • #3
      it worked. anyway to make this upgrade safe ? Or is this option could be added as a configuration sometimes in future ?

      Thanks
      Rabii
      Web Dev

      Comment


      • #4
        No.

        Originally posted by yuri View Post
        There's no upgrade-safe way.

        Comment


        • #5
          We have working time calendar that defines weekends. Some may have only 1 weekend, some 2, others don't have. Having a single boolean param for all cases is not a good option.

          Comment


          • rabii
            rabii commented
            Editing a comment
            sounds promising. i will use this temporary fix for now until v 7.3 is out.

            Thanks

          • esforim
            esforim commented
            Editing a comment
            You can copy/paste the code from the Git if you are eager

          • rabii
            rabii commented
            Editing a comment
            nah i am fine current option is working fine weekends: false is doing the job. i will just wait until v 7.3 is out to change and start using the working calendar properly.
        Working...
        X