replace unixToDate to timeConvertor
This commit is contained in:
@@ -113,7 +113,7 @@ class TenderCard extends StatelessWidget {
|
||||
|
||||
Widget _dateText() {
|
||||
return Text(
|
||||
DateUtils.unixToDate(tender.publicationDate ?? 0),
|
||||
timeConvertor(tender.publicationDate ?? 0),
|
||||
style: TextStyle(
|
||||
color: AppColors.grey60,
|
||||
fontSize: 12.0.sp(),
|
||||
@@ -143,7 +143,7 @@ class TenderCard extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
DateUtils.unixToDate(tender.tenderDeadline ?? 0),
|
||||
timeConvertor(tender.tenderDeadline ?? 0),
|
||||
style: TextStyle(
|
||||
color: AppColors.grey80,
|
||||
fontSize: 14.0.sp(),
|
||||
|
||||
Reference in New Issue
Block a user