Donny9 opened a new pull request, #11035:
URL: https://github.com/apache/nuttx/pull/11035

   
   ## Summary
   libc/localtime: fix the timezone error caused by minor error
   
   align: https://github.com/eggert/tz/blob/main/localtime.c
   
   correct timeone in test:
   
   server> timedatectl set-timezone Pacific/Auckland
   server> timedatectl
         TimeZone: NZDT, 46800
       Local time: Sat, Oct 21 21:47:34 2023 NZDT
   Universal time: Sat, Oct 21 08:47:34 2023 UTC
         RTC time: Sat, Oct 21 08:47:35 2023
   
   error timezone:
   
   server> timedatectl set-timezone Pacific/Auckland
   server> timedatectl
         TimeZone: NZST, 43200
       Local time: Sat, Oct 21 20:52:27 2023 NZST
   Universal time: Sat, Oct 21 08:52:27 2023 UTC
         RTC time: Sat, Oct 21 08:52:27 2023
   
   ## Impact
   timezone with summer time
   ## Testing
   sim:rpserver and vela
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to