@ -46,12 +46,13 @@ class MemberSeasonsItem extends StatelessWidget {
|
|||||||
height: maxHeight,
|
height: maxHeight,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (seasonItem.duration != null)
|
if (seasonItem.pubdate != null)
|
||||||
PBadge(
|
PBadge(
|
||||||
bottom: 6,
|
bottom: 6,
|
||||||
right: 6,
|
right: 6,
|
||||||
type: 'gray',
|
type: 'gray',
|
||||||
text: Utils.timeFormat(seasonItem.duration),
|
text: Utils.CustomStamp_str(
|
||||||
|
timestamp: seasonItem.pubdate, date: 'YY-MM-DD'),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
@ -78,7 +79,7 @@ class MemberSeasonsItem extends StatelessWidget {
|
|||||||
const Spacer(),
|
const Spacer(),
|
||||||
Text(
|
Text(
|
||||||
Utils.CustomStamp_str(
|
Utils.CustomStamp_str(
|
||||||
timestamp: seasonItem.pubdate, date: 'MM-DD'),
|
timestamp: seasonItem.pubdate, date: 'YY-MM-DD'),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 11,
|
fontSize: 11,
|
||||||
color: Theme.of(context).colorScheme.outline,
|
color: Theme.of(context).colorScheme.outline,
|
||||||
|
Reference in New Issue
Block a user