Get DST settings
Returns Daylight Saving Time (DST) settings.
DST is a seasonal time change measure where clocks are set ahead of standard time during part of the year. When DST starts, clock jumps ahead by 1 hour. In the autumn (fall), the period of daylight saving time ends and clocks change back to standard time.
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- MOD1
- MOD2
- is_enabled boolean
Feature activation
starts object
This model describes time change rule
month integerPossible values:
>= 1and<= 12Month number
day stringPossible values: [
last_thursday,last_friday,friday_before_last_sunday,first_saturday,last_saturday,saturday_before_last_sunday,first_sunday,second_sunday,fourth_sunday,last_sunday]Day of the month
hour integerPossible values:
<= 23Hours of the day
ends object
This model describes time change rule
month integerPossible values:
>= 1and<= 12Month number
day stringPossible values: [
last_thursday,last_friday,friday_before_last_sunday,first_saturday,last_saturday,saturday_before_last_sunday,first_sunday,second_sunday,fourth_sunday,last_sunday]Day of the month
hour integerPossible values:
<= 23Hours of the day
- is_enabled boolean
Feature activation
{
"is_enabled": true,
"starts": {
"month": 1,
"day": "last_sunday",
"hour": 2
},
"ends": {
"month": 1,
"day": "last_sunday",
"hour": 2
}
}
{
"is_enabled": true,
"starts": {
"month": 3,
"day": "last_sunday",
"hour": 2
},
"ends": {
"month": 10,
"day": "last_sunday",
"hour": 2
}
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}