parent
57957633f4
commit
244536e350
|
@ -30,7 +30,9 @@ class ActivityCard extends Component {
|
|||
<H className="woocommerce-activity-card__title">{ title }</H>
|
||||
{ subtitle && <div className="woocommerce-activity-card__subtitle">{ subtitle }</div> }
|
||||
{ date && (
|
||||
<span className="woocommerce-activity-card__date">{ moment( date ).fromNow() }</span>
|
||||
<span className="woocommerce-activity-card__date">
|
||||
{ moment.utc( date ).fromNow() }
|
||||
</span>
|
||||
) }
|
||||
</header>
|
||||
<Section className="woocommerce-activity-card__body">{ children }</Section>
|
||||
|
|
|
@ -88,7 +88,7 @@ class InboxPanel extends Component {
|
|||
key={ note.id }
|
||||
className="woocommerce-inbox-activity-card"
|
||||
title={ note.title }
|
||||
date={ note.date_created }
|
||||
date={ note.date_created_gmt }
|
||||
icon={ <Gridicon icon={ note.icon } size={ 48 } /> }
|
||||
unread={ ! lastRead || new Date( note.date_created_gmt ).getTime() > lastRead }
|
||||
actions={ getButtonsFromActions( note.actions ) }
|
||||
|
|
Loading…
Reference in New Issue