aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-16 17:28:37 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-16 17:28:37 -0600
commit4cc19729c540ffba163d5c9a53b9352fe61fe8af (patch)
tree91bddbeda31d8f5e2600e0024127c1f5a2f0f8d2 /include/datetime
parenta2b5c79157fa8db36d94786de1b86b756308912d (diff)
downloadayatana-indicator-datetime-4cc19729c540ffba163d5c9a53b9352fe61fe8af.tar.gz
ayatana-indicator-datetime-4cc19729c540ffba163d5c9a53b9352fe61fe8af.tar.bz2
ayatana-indicator-datetime-4cc19729c540ffba163d5c9a53b9352fe61fe8af.zip
in utils.c, make a version of get_timezone_name() that doesn't require a GSettings argument. Update utils tests.
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/datetime/utils.h b/include/datetime/utils.h
index fbc80d7..10e881f 100644
--- a/include/datetime/utils.h
+++ b/include/datetime/utils.h
@@ -34,9 +34,12 @@ void split_settings_location (const char * location,
char ** zone,
char ** name);
-gchar * get_current_zone_name (const char * location,
+gchar * get_timezone_name (const char * timezone,
GSettings * settings);
+gchar * get_beautified_timezone_name (const char * timezone,
+ const char * saved_location);
+
gchar * generate_full_format_string_at_time (GDateTime * now,
GDateTime * time);