xiaoxiang781216 commented on code in PR #19024:
URL: https://github.com/apache/nuttx/pull/19024#discussion_r3345705041


##########
libs/libc/time/Kconfig:
##########
@@ -5,6 +5,41 @@
 
 menu "Time/Time Zone Support"
 
+config LIBC_STRFTIME_C_STANDARD_FORMATS
+       bool "strftime ISO C conversion specifiers"
+       default !DEFAULT_SMALL
+       ---help---
+               Enable ISO C strftime conversion specifiers that are not part of
+               the small always-enabled subset.  Disabling this option
+               removes support for %A, %B, %I, %j, %p, %U, %w, %W, %x, %X, and
+               %y.  The always-enabled subset is %a, %b/%h, %d, %H, %m, %M,
+               %S, %Y, and %%.
+
+               Disabling this option makes strftime smaller, but the 
implementation
+               no longer supports all conversion specifiers required by ISO C.
+
+config LIBC_STRFTIME_POSIX_FORMATS
+       bool "strftime POSIX conversion specifiers"
+       default !DEFAULT_SMALL
+       select LIBC_STRFTIME_C_STANDARD_FORMATS

Review Comment:
   ```suggestion
        depends on LIBC_STRFTIME_C_STANDARD_FORMATS
   ```



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