diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-12-18 13:48:50 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-12-18 13:48:50 +0800 |
commit | 67802a09c4d6b785dcd384c3e6029e73e0e5d681 (patch) | |
tree | 668e5f21770ebf4c32e43336b409a7e14e1022c8 /e-util/e-util.h | |
parent | f6408daa103092f18789a719a4123224b259f71f (diff) | |
download | gsoc2013-evolution-67802a09c4d6b785dcd384c3e6029e73e0e5d681.tar.gz gsoc2013-evolution-67802a09c4d6b785dcd384c3e6029e73e0e5d681.tar.zst gsoc2013-evolution-67802a09c4d6b785dcd384c3e6029e73e0e5d681.zip |
Merging changes:
2001-12-17 Christopher James Lahey <clahey@ximian.com>
From a patch by Dan Nguyen <dnn@austin.ibm.com>
* configure.in: Added configure check for %l and %k in strftime.
* gal/util/e-util.c, gal/util/e-util.h (e_strftime): New function.
Handles %l and %k even on platforms that don't support them by
translating to %I and %H.
svn path=/trunk/; revision=15146
Diffstat (limited to 'e-util/e-util.h')
-rw-r--r-- | e-util/e-util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h index fb8a8944ce..8ceeef0fa3 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -141,6 +141,11 @@ size_t e_strftime_fix_am_pm (char const char *fmt, const struct tm *tm); +size_t e_strftime (char *s, + size_t max, + const char *fmt, + const struct tm *tm); + /* String to/from double conversion functions */ gdouble e_flexible_strtod (const gchar *nptr, |