From 6bf29a45db5707a3c20fe794672a60d338d81868 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Sun, 14 Oct 2018 08:13:12 -0500 Subject: [PATCH] Fixed arrow formatter when dealing with profile birthdates --- src/controller/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/profiles.py b/src/controller/profiles.py index 8bbc318..b0e5307 100644 --- a/src/controller/profiles.py +++ b/src/controller/profiles.py @@ -41,7 +41,7 @@ class userProfile(object): if person.has_key("bdate") and person["bdate"] != "": self.dialog.main_info.enable("bdate") if len(person["bdate"]) <= 5: - d = arrow.get(person["bdate"], "D.m") + d = arrow.get(person["bdate"], "D.M") self.dialog.main_info.set("bdate", d.format(_(u"MMMM D"), locale=languageHandler.getLanguage())) else: d = arrow.get(person["bdate"], "D.M.YYYY")