Customizing “Workdays × Daytime” Time-Grid Range in the Instructor Time Preferences

8 views
Skip to first unread message

yunlong

unread,
Nov 14, 2025, 11:36:43 PM11/14/25
to UniTime Discussion Group

Hi Thomas,

I hope you’re doing well. I am currently using UniTime version 4.8.216, and I would like to customize the “Daytime” time-grid for workdays in the Instructor Time Preferences page. By default, the grid is set to 7:30 AM – 6:30 PM, but we need to change it to better match our institution’s teaching hours.

Here is the context, what we have tried, and specific questions:


1. Background / Motivation
  • In our institution, the “daytime” teaching window is 8:00 AM to 5:40 PM, so the default UniTime “Daytime” does not align with our real-world schedule.

  • When instructors set their availability, they often use “Workdays × Daytime”. We want this grid to represent our actual teaching hours so that scheduling is more accurate and acceptable.

2. What We Have Done / Tried
  • We went to Administration → Defaults → Configuration → Add Setting.

  • We added a new Application Setting:

    • Name: unitime.timeGrid.times1

    • Value: Daytime|[slot_start]|[slot_end]|[increment]

  • We know from the documentation that the format is name|firstSlot|lastSlot|increment, and that “all time slots are 5 minutes long” per the help page.

  • We tried calculating the slot values for our desired hours, but after saving and (re)loading UniTime, the “Daytime” grid in the instructor preferences screen still shows the default 7:30–18:30.

Tomáš Müller

unread,
Nov 16, 2025, 2:07:53 PM11/16/25
to unitime...@googlegroups.com
Hi Yunlong,

The unitime.timeGrid.* settings are for the Courses > Course Timetabling > Timetable Grid page.

For room sharing and instructor time preferences, the available days & times can be configured using the unitime.room.sharingMode<index> properties on the Application Configuration page. The format is name|first day|last day|first slot|last slot|increment (days start with zero for Monday, so Sunday is 6). The defaults are:

You can override the existing ones and/or add new ones with unitime.room.sharingMode6, unitime.room.sharingMode7, etc.
unitime.room.sharingMode1=Workdays × Daytime|0|4|90|222|6
unitime.room.sharingMode2=All Week × Daytime|0|6|90|222|6
unitime.room.sharingMode3=Workdays × Evening|0|4|222|288|6
unitime.room.sharingMode4=All Week × Evening|0|6|222|288|6
unitime.room.sharingMode5=All Week × All Times|0|6|0|288|6

Best regards,

Tomas Muller

--
You received this message because you are subscribed to the Google Groups "UniTime Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unitime-discu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/unitime-discuss/8dd2c79f-c231-48ef-a22a-328c93515e90n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages