[geary/mjog/888-reply-time: 2/2] Util.Date: Remove now unused function




commit 4be51e01c02f57fe68121603888ca012000d845d
Author: Michael Gratton <mike vee net>
Date:   Sat Oct 10 23:57:11 2020 +1100

    Util.Date: Remove now unused function

 src/client/util/util-date.vala | 28 ----------------------------
 1 file changed, 28 deletions(-)
---
diff --git a/src/client/util/util-date.vala b/src/client/util/util-date.vala
index 88948916f..322a4cf26 100644
--- a/src/client/util/util-date.vala
+++ b/src/client/util/util-date.vala
@@ -208,32 +208,4 @@ public string get_clock_format(ClockFormat clock_format) {
     return xlat_pretty_clocks[clock_format.to_index()];
 }
 
-public string get_full_date(ClockFormat clock_format) {
-    var value = "";
-    switch (clock_format) {
-    case TWELVE_HOURS:
-        /// 12 hours format for datetime that a message being replied
-        /// to was received See
-        /// http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-        value = _("%a, %b %-e, %Y at %l:%M %P");
-        break;
-    case TWENTY_FOUR_HOURS:
-        /// 24 hours format for the datetime that a message being
-        /// replied to was received See
-        /// http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-        value = _("%a, %b %-e, %Y at %H:%M");
-        break;
-    case LOCALE_DEFAULT:
-        /// Format for the datetime that a message being replied to
-        /// was received See
-        /// http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-        value = _("%a, %b %-e, %Y at %X");
-        break;
-    case TOTAL:
-        // noop
-        break;
-    }
-    return value;
-}
-
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]