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

   ## Summary
   Current implementation discards any updates if current timezone name is the 
same as new timezone name. This works well if every timezone name is different 
(Europe/Prague, Mexico/General etc.) however some application may want to 
reduce the image size by omitting zoneinfo directory and using just single 
zoneinfo file instead. Therefore the name of the zone is the same all the time.
   
   This commit adds function tzreset() that resets the g_lcl_tzname variable 
keeping the time zone file name and hence forces the tzset() function to reload 
the file on next call.
   
   ## Impact
   
   Should not have any impact on current implementations. Just addition of new 
public function.
   
   ## Testing
   
   Tested on custom SAMv7 board.
   
   


-- 
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