Skip to content
Snippets Groups Projects
Commit ba225e20 authored by Guillaume Gielly's avatar Guillaume Gielly
Browse files

Refactor strftime() to use langinfo constants for locale-based formatting :

- replaced hardcoded day and month names with calls to nl_langinfo,
- integrated langinfo constants  DAY_1, ABDAY_1, MON_1, ABMON_1) for weekday and month names,
- used AM_STR and PM_STR for AM/PM strings in %p and %P specifiers,
- add comments.
parent 770e7688
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment