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
- is_enabled boolean
Feature activation
starts object
This model describes time change rule
month integerPossible values:
>= 1
and<= 12
Month 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:
<= 23
Hour of the day
ends object
This model describes time change rule
month integerPossible values:
>= 1
and<= 12
Month 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:
<= 23
Hour of the day
{
"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"
}