From 30d45a522eb83d519f1ee44ebe06a6696d2b094d Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 25 Jul 2013 21:06:25 -0500 Subject: in the appointments section, only show the next instance of recurring events. If the event is daily, say so in the time format string. --- src/utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 8dc2964..73bd83a 100644 --- a/src/utils.h +++ b/src/utils.h @@ -32,6 +32,7 @@ void split_settings_location (const gchar * location, gchar ** zone, gchar ** na gchar * get_current_zone_name (const gchar * location); gchar * generate_format_string_full (gboolean show_day, gboolean show_date); gchar * generate_format_string_at_time (GDateTime * now, GDateTime * time); +gchar * join_date_and_time_format_strings (const char * date, const char * time); G_END_DECLS -- cgit v1.2.3 From 18012d5e396e87d1c0c5534c35c5d0de82c2f7aa Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 26 Jul 2013 13:26:03 -0500 Subject: add 'terse' time formats for phone menu to match the spec. --- src/utils.h | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 73bd83a..3b0d0a2 100644 --- a/src/utils.h +++ b/src/utils.h @@ -27,13 +27,33 @@ with this program. If not, see . G_BEGIN_DECLS -gboolean is_locale_12h (void); -void split_settings_location (const gchar * location, gchar ** zone, gchar ** name); -gchar * get_current_zone_name (const gchar * location); -gchar * generate_format_string_full (gboolean show_day, gboolean show_date); -gchar * generate_format_string_at_time (GDateTime * now, GDateTime * time); -gchar * join_date_and_time_format_strings (const char * date, const char * time); +gboolean is_locale_12h (void); +void split_settings_location (const char * location, + char ** zone, + char ** name); + +gchar * get_current_zone_name (const char * location); + +gchar* join_date_and_time_format_strings (const char * date_fmt, + const char * time_fmt); +/*** +**** +***/ + +const gchar * get_terse_time_format_string (GDateTime * time); + +const gchar * get_full_time_format_string (void); + +gchar * generate_terse_format_string_at_time (GDateTime * now, + GDateTime * time); + +gchar * generate_full_format_string (gboolean show_day, + gboolean show_date); + +gchar * generate_full_format_string_at_time (GDateTime * now, + GDateTime * time); + G_END_DECLS #endif -- cgit v1.2.3