From 9a4edde8fb5550b5caa66eeaba4e686a6b1ff442 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 2 Jul 2020 18:59:53 +0800 Subject: Add an option to change time format. Properly show message time in ViewPrivateMessagesActivity. --- app/src/main/res/values/arrays.xml | 50 +++++++++++++++++++++++++++++++++++++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 51 insertions(+) (limited to 'app/src/main/res/values') diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 3efd7c75..2d8cdce0 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -168,4 +168,54 @@ 4 5 + + + Jan 2, 2020, 01:00 + Jan 2, 2020, 01:00 PM + 2 Jan, 2020, 01:00 + 2 Jan, 2020, 01:00 PM + 1/2/2020 01:00 (Month first) + 1/2/2020 01:00 PM (Month first) + 2/1/2020 01:00 (Day first) + 2/1/2020 01:00 PM (Day first) + 2020/1/2 01:00 (Month first) + 2020/1/2 01:00 PM (Month first) + 1-2-2020 01:00 (Month first) + 1-2-2020 01:00 PM (Month first) + 2-1-2020 01:00 (Day first) + 2-1-2020 01:00 PM (Day first) + 2020-1-2 01:00 (Month first) + 2020-1-2 01:00 PM (Month first) + 1.2.2020 01:00 (Month first) + 1.2.2020 01:00 PM (Month first) + 2.1.2020 01:00 (Day first) + 2.1.2020 01:00 PM (Day first) + 2020.1.2 01:00 (Month first) + 2020.1.2 01:00 PM (Month first) + + + + MMM d, yyyy, HH:mm + MMM d, yyyy, hh:mm a + d MMM yyyy, HH:mm + d MMM yyyy, hh:mm a + M/d/yyyy HH:mm + M/d/yyyy hh:mm a + d/M/yyyy HH:mm + d/M/yyyy hh:mm a + yyyy/M/d HH:mm + yyyy/M/d hh:mm a + M-d-yyyy HH:mm + M-d-yyyy hh:mm a + d-M-yyyy HH:mm + d-M-yyyy hh:mm a + yyyy-M-d HH:mm + yyyy-M-d hh:mm a + M.d.yyyy HH:mm + M.d.yyyy hh:mm a + d.M.yyyy HH:mm + d.M.yyyy hh:mm a + yyyy.M.d HH:mm + yyyy.M.d hh:mm a + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5d78d9d8..8c874679 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -355,6 +355,7 @@ Comment Toolbar Hidden by Default Show Absolute Number of Votes Show Elapsed Time in Posts and Comments + Time Format Default Post Layout Show Divider in Compact Layout Show Thumbnail on the Right in Compact Layout -- cgit v1.2.3