Skip to content

Commit

Permalink
Merge pull request #24 from redoxcode/main
Browse files Browse the repository at this point in the history
Fix ruleSTD example
  • Loading branch information
sstaub authored Mar 29, 2023
2 parents 8eea68d + a2af584 commit 564a820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Set the rules for the daylight save time settings
Example, this must done in ```setup()```
```cpp
ntp.ruleDST("CEST", Last, Sun, Mar, 2, 120); // last sunday in march 2:00, timetone +120min (+1 GMT + 1h summertime offset)
ntp.ruleDST("CEST", Last, Sun, Mar, 2, 120); // last sunday in march 2:00, timezone +120min (+1 GMT + 1h summertime offset)
```

## Return ruleDST()
Expand All @@ -170,7 +170,7 @@ Set the rules for the standard time settings
Example, this must done in ```setup()```
```cpp
ntp.ruleDST("CEST", Last, Sun, Mar, 2, 120); // last sunday in march 2:00, time
ntp.ruleSTD("CET", Last, Sun, Oct, 3, 60); // last sunday in october 3:00, timezone +60min (+1 GMT)
```

## Return ruleSTD()
Expand Down

0 comments on commit 564a820

Please sign in to comment.