summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java b/app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java
index 3d38cb8a..2651a64d 100644
--- a/app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java
+++ b/app/src/test/java/se/leap/bitmaskclient/base/utils/DateHelperTest.java
@@ -11,7 +11,7 @@ public class DateHelperTest {
@Test
public void getFormattedDateWithTimezone() {
- Pattern datePattern = Pattern.compile("^10 Nov 22 11:26 [+-][0-9]{4}$");
+ Pattern datePattern = Pattern.compile("^10 Nov 22 [1]?[0-9]:26 [+-][0-9]{4}$");
String formattedDate = DateHelper.getFormattedDateWithTimezone(1668075969744L);
Matcher matcher = datePattern.matcher(formattedDate);
System.out.println(formattedDate);