diff --git a/panel-plugin/weather-parsers.c b/panel-plugin/weather-parsers.c index 109d726..cddc107 100644 --- a/panel-plugin/weather-parsers.c +++ b/panel-plugin/weather-parsers.c @@ -445,7 +445,7 @@ parse_astro_time(xmlNode *cur_node) if (child_node->type == XML_ELEMENT_NODE) { if (NODE_IS_TYPE(child_node, "sunrise")) { sunrise = remove_timezone_offset(PROP(child_node, "time")); - astro->sunrise = parse_timestring(sunrise, NULL, FALSE); + astro->sunrise = parse_timestring(sunrise, NULL, TRUE); xmlFree(sunrise); sun_rises = TRUE; } @@ -459,7 +459,7 @@ parse_astro_time(xmlNode *cur_node) if (NODE_IS_TYPE(child_node, "sunset")) { sunset = remove_timezone_offset(PROP(child_node, "time")); - astro->sunset = parse_timestring(sunset, NULL, FALSE); + astro->sunset = parse_timestring(sunset, NULL, TRUE); xmlFree(sunset); sun_sets = TRUE; } diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c index dbe3014..3227a39 100644 --- a/panel-plugin/weather-summary.c +++ b/panel-plugin/weather-summary.c @@ -417,12 +417,12 @@ create_summary_tab(plugin_data *data) value = g_strdup(_("\tSunset:\t\tThe sun never sets today.\n")); APPEND_TEXT_ITEM_REAL(value); } else { - sunrise = format_date(data->current_astro->sunrise, NULL, FALSE); + sunrise = format_date(data->current_astro->sunrise, NULL, TRUE); value = g_strdup_printf(_("\tSunrise:\t\t%s\n"), sunrise); g_free(sunrise); APPEND_TEXT_ITEM_REAL(value); - sunset = format_date(data->current_astro->sunset, NULL, FALSE); + sunset = format_date(data->current_astro->sunset, NULL, TRUE); value = g_strdup_printf(_("\tSunset:\t\t%s\n\n"), sunset); g_free(sunset); APPEND_TEXT_ITEM_REAL(value); diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c index 337b76d..6229fec 100644 --- a/panel-plugin/weather.c +++ b/panel-plugin/weather.c @@ -1729,9 +1729,9 @@ weather_get_tooltip_text(const plugin_data *data) sunval = g_strdup(_("The sun never sets today.")); } else { sunrise = format_date(data->current_astro->sunrise, - "%H:%M:%S", FALSE); + "%H:%M:%S", TRUE); sunset = format_date(data->current_astro->sunset, - "%H:%M:%S", FALSE); + "%H:%M:%S", TRUE); sunval = g_strdup_printf(_("The sun rises at %s and sets at %s."), sunrise, sunset);