update syntax to repair overflow error

This commit is contained in:
kicap committed 2023-08-18 02:30:56 +08:00
1 parent 7a66245b7e
commit 64668289d7
174 files changed
+534 -302

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ class OtherFunction {
String timeStampConverter(int timeStamp) {
DateTime date = DateTime.fromMillisecondsSinceEpoch(timeStamp * 1000);
// day name, date and hours with am/pm
String formattedDate = DateFormat('EEEE, d MM-yyyy | HH:mm a').format(date);
String formattedDate = DateFormat('EE, d MM-yyyy | HH:mm a').format(date);
return formattedDate;
}
}