Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
51892708
Commit
51892708
authored
Nov 10, 2019
by
Rahix
Browse files
Merge 'Change time zone from CEST to CET'
See merge request
card10/firmware!353
parents
a4fefd7e
a1c6a87b
Pipeline
#4207
passed with stages
in 1 minute and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pycardium/modules/utime.c
View file @
51892708
...
...
@@ -16,7 +16,9 @@
/* MicroPython has its epoch at 2000-01-01. Our RTC is in UTC */
#define EPOCH_OFFSET 946684800UL
#define TZONE_OFFSET 7200UL
/* Fixed time zone: CET */
#define TZONE_OFFSET 3600UL
static
mp_obj_t
time_set_time
(
mp_obj_t
secs
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment