schedule.timezone

Background

This setting declares the timezone that applies to the set of scheduler settings for the current data source or search package.

If set in the search package, this setting changes the date range of the count_dates=d URL parameter’s result in search.json to the current timezone.

It does this by changing the -today=YYYYMMDD argument given to padre-sw.

This allows correct date ranges to be set for customers that are not aligned to their server’s timezone. (By default, DXP servers are set to UTC timezone).

Permitted values are those accepted by Java’s [ZoneId.of(String)](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/ZoneId.html#of(java.lang.String) method, which includes region-based zone IDs from the IANA Time Zone Database (TZDB).

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the schedule.timezone key, and set the value. This can be set to any valid java.time.ZoneId value.

Default value

UTC representing the coordinated universal time timezone.

Examples

schedule.timezone=Europe/Paris

Configure the scheduler timezone to be Paris, France.