Skip to content

Commit

Permalink
Jetpack Backup: fix reference to purchase date. (#14163)
Browse files Browse the repository at this point in the history
subscribedDate does not exist, and thus moment( purchase.subscribedDate ).format() would just return the current day.
  • Loading branch information
jeherve authored Dec 3, 2019
1 parent 9432874 commit 02f7fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _inc/client/plans/product-selector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class ProductSelector extends Component {

const purchasedDate = __( 'Purchased on %(purchaseDate)s', {
args: {
purchaseDate: moment( purchase.subscribedDate ).format( 'LL' ),
purchaseDate: moment( purchase.subscribed_date ).format( 'LL' ),
},
} );

Expand Down

0 comments on commit 02f7fc6

Please sign in to comment.