diff options
author | Damon Chaplin <damon@ximian.com> | 2001-03-19 23:46:32 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-03-19 23:46:32 +0800 |
commit | 79b4221f89cc816a1b6e7eb3e8d0332e50765747 (patch) | |
tree | 02cceef97e69dbab82de14a11d5126084e529fc3 /e-util/e-time-utils.h | |
parent | 6e4d2a16a8f072004b20eacd57c03604013c8350 (diff) | |
download | gsoc2013-evolution-79b4221f89cc816a1b6e7eb3e8d0332e50765747.tar.gz gsoc2013-evolution-79b4221f89cc816a1b6e7eb3e8d0332e50765747.tar.zst gsoc2013-evolution-79b4221f89cc816a1b6e7eb3e8d0332e50765747.zip |
added function to format just the time.
2001-03-18 Damon Chaplin <damon@ximian.com>
* e-time-utils.c (e_time_format_time): added function to format just
the time.
svn path=/trunk/; revision=8822
Diffstat (limited to 'e-util/e-time-utils.h')
-rw-r--r-- | e-util/e-time-utils.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/e-util/e-time-utils.h b/e-util/e-time-utils.h index f6449a2f61..762e410e69 100644 --- a/e-util/e-time-utils.h +++ b/e-util/e-time-utils.h @@ -30,6 +30,17 @@ void e_time_format_date_and_time (struct tm *date_tm, gboolean use_24_hour_format, gboolean show_midnight, gboolean show_zero_seconds, - char *result, - int result_size); + char *buffer, + int buffer_size); + +/* Formats a time from a struct tm, e.g. "01:59 PM". */ +void e_time_format_time (struct tm *date_tm, + gboolean use_24_hour_format, + gboolean show_zero_seconds, + char *buffer, + int buffer_size); + + + + #endif /* E_TIME_UTILS */ |