zephyr/subsys/shell/modules
Nick Ward c411ed9322 shell: modules: Add date commands to display or set date
Currently only supports Unix time.

‘get’ subcommand returns date in format “Y-m-d H:M:S”
‘set’ subcommand format is ‘[Y-m-d] <H:M:S>’

The ‘set’ subcommand is implemented with basic date validation.

For user convenience of small adjustments to time the time argument
will accept H:M:S, :M:S or ::S where the missing field(s) will be
filled in by the previous time state.

Signed-off-by: Nick Ward <nix.ward@gmail.com>
2020-03-10 15:04:12 +02:00
..
CMakeLists.txt shell: modules: Add date commands to display or set date 2020-03-10 15:04:12 +02:00
date_service.c shell: modules: Add date commands to display or set date 2020-03-10 15:04:12 +02:00
device_service.c shell: device: show PM state in device list 2020-02-02 09:05:15 -05:00
Kconfig shell: modules: Add date commands to display or set date 2020-03-10 15:04:12 +02:00
kernel_service.c kernel: overhaul unused stack measurement 2020-02-08 10:02:35 +02:00