TF-4146 Should handle time for email view

This commit is contained in:
dab246
2025-11-13 00:21:19 +07:00
committed by Dat H. Pham
parent ee23058514
commit 620d155dc3
2 changed files with 87 additions and 2 deletions
@@ -51,9 +51,9 @@ extension DateTimeNullableExtension on DateTime? {
String toPatternForEmailView() {
if (this?.isThisYear() == true) {
return 'dd MMM, HH:mm a';
return 'dd MMM, hh:mm a';
} else {
return 'dd MMM yyyy, HH:mm a';
return 'dd MMM yyyy, hh:mm a';
}
}