update syntax to repair overflow error
This commit is contained in:
1 parent
7a66245b7e
commit
64668289d7
174 files changed
+534
-302
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user