mtext_ftime(3m17n)
β¨ NAME β¨
mtext_ftime β okay bestie, the name section in the original is literally just the function name and a lonely little dash, no description at all π so that's what we're working with. Iconic minimalism, honestly.
πΈ SYNOPSIS πΈ
int mtext_ftime (MText * mt, const char * format, const struct tm * tm,
MLocale * locale)
π DESCRIPTION π
So what does it do? It formats date and time. That's the whole vibe. π
The mtext_ftime() function takes your broken-down time tm, formats it according to the format specification format, and then appends the result to the M-text mt β note that word, bestie, appends, it does not replace, it does not overwrite, it slides in at the end like it owns the place. π
The formatting gets done according to the locale locale β but only if locale isn't NULL. If it is NULL, it falls back to the current locale, and specifically LC_TIME. π°οΈβ¨
And the meaning of the tm and format arguments? Exactly the same as those of strftime(). No cap. So if you already know strftime(), you already know this. If you don'tβ¦ well, go read that one, because this page is not gonna re-explain it to you. π
π¦ SEE ALSO π¦
strftime().
π COPYRIGHT π
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>. So yes, you can copy it, share it, remix it β go off. π«Ά
Okay that's the whole page bestie, we ate and left no crumbs. β¨ This was Version 1.8.4, dated Mon Sep 25 2023, and it lives its life as mtext_ftime(3m17n) in the m17n Library. Mwah. πππ¦
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms