Zepp-Hanzj commented on PR #19516:
URL: https://github.com/apache/nuttx/pull/19516#issuecomment-5076009692

   > @Zepp-Hanzj did you test with 
https://nuttx.apache.org/docs/latest/components/libs/libc/zoneinfo.html ?
   
   
   [version.log](https://github.com/user-attachments/files/30365988/version.log)
   [build.log](https://github.com/user-attachments/files/30365989/build.log)
   
[config-check.log](https://github.com/user-attachments/files/30365990/config-check.log)
   [context.log](https://github.com/user-attachments/files/30365993/context.log)
   [runtime.log](https://github.com/user-attachments/files/30365994/runtime.log)
   
   
   My previous validation did not enable CONFIG_LIBC_ZONEINFO. I have now 
retested the current PR with the documented sim:nsh ROMFS configuration:
   CONFIG_BOARD_LATE_INITIALIZE=y
   CONFIG_LIBC_LOCALTIME=y
   CONFIG_LIBC_TZDIR="/share/zoneinfo"
   CONFIG_LIBC_TZ_MAX_TIMES=370
   CONFIG_LIBC_TZ_MAX_TYPES=20
   CONFIG_LIBC_ZONEINFO=y
   CONFIG_LIBC_ZONEINFO_ROMFS=y
   Both make context and the full build succeeded. The zoneinfo ROMFS was 
mounted successfully at /share/zoneinfo.
   With the same runtime timestamp:
   UTC0          2026-07-25T00:38:38
   US/Mountain   2026-07-24T18:38:38
   :US/Mountain  2026-07-24T18:38:38
   ART3          2026-07-24T21:38:38
   This confirms that file-backed zoneinfo, including the leading-colon 
file-only form, still works correctly, while the POSIX fallback now handles 
ART3 as UTC-3.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to