Repair a verified behavior in rt-thread/rt-thread.
Repair a verified behavior in rt-thread/rt-thread.: a task in OriGent-RL-Data (Harbor dataset). The compiler-independent C-library time-of-day layer shared by every toolchain adapter (components/libc/compilers/common/time.c, together with the common sys/time.h header) mishandles the fixed UTC+8…
The task
The compiler-independent C-library time-of-day layer shared by every toolchain adapter (components/libc/compilers/common/time.c, together with the common sys/time.h header) mishandles the fixed UTC+8 timezone when converting local wall-clock time, and silently drops sub-second precision when the system clock is set.
Part of henryen/OriGent-RL-Data.