Add date library (https://github.com/HowardHinnant/date) to manage the date and time.
The date is now properly processed (31 December 2019 23:59:59 + 1s => 1 January 2020 00:00:00)
This commit is contained in:
parent
1e25f51af7
commit
8253c099d9
13 changed files with 23451 additions and 24 deletions
|
|
@ -64,10 +64,19 @@ set(INCLUDE_FILES
|
|||
drivers/Cst816s.h
|
||||
FreeRTOS/portmacro.h
|
||||
FreeRTOS/portmacro_cmsis.h
|
||||
libs/date/includes/date/tz.h
|
||||
libs/date/includes/date/chrono_io.h
|
||||
libs/date/includes/date/date.h
|
||||
libs/date/includes/date/islamic.h
|
||||
libs/date/includes/date/iso_week.h
|
||||
libs/date/includes/date/julian.h
|
||||
libs/date/includes/date/ptz.h
|
||||
libs/date/includes/date/tz_private.h
|
||||
)
|
||||
|
||||
include_directories(
|
||||
FreeRTOS/
|
||||
libs/date/includes
|
||||
)
|
||||
|
||||
nRF5x_addExecutable(pinetime-app "${SOURCE_FILES}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue