TF-1003 Fix select today as start date, can not receive vacation message

This commit is contained in:
dab246
2022-09-29 17:33:29 +07:00
committed by Dat H. Pham
parent 39749dcba9
commit 2c61102d03
4 changed files with 15 additions and 30 deletions
@@ -10,12 +10,4 @@ extension UTCDateExtension on UTCDate? {
return '';
}
}
String formatDate({String pattern = 'yMMMd', String locale = 'en_US'}) {
if (this != null) {
return DateFormat(pattern, locale).format(this!.value);
} else {
return '';
}
}
}