TF-2713 Small evolution for printing

This commit is contained in:
dab246
2024-03-15 11:32:51 +07:00
committed by Dat H. Pham
parent f342e14e7e
commit 840a191831
18 changed files with 42 additions and 127 deletions
@@ -29,6 +29,7 @@ extension PresentationEmailExtension on PresentationEmail {
int numberOfAllEmailAddress() => to.numberEmailAddress() + cc.numberEmailAddress() + bcc.numberEmailAddress();
String getReceivedAt(String newLocale, {String? pattern}) {
log('PresentationEmailExtension::getReceivedAt: newLocale = $newLocale | pattern = $pattern');
final emailTime = receivedAt;
if (emailTime != null) {
return emailTime.formatDateToLocal(