0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed date formatting in members CSV export

no issue

- Made date formatting coherent with the one used in API and the exporter
- Using JSON.stringify() here because that's exactly how API is getting it's formattting done atm
This commit is contained in:
Nazar Gargol 2020-03-04 17:41:02 +08:00
parent c0512e30bb
commit 8f789523e3

View file

@ -69,8 +69,8 @@ module.exports = {
subscribed_to_emails: member.subscribed,
complimentary_plan: member.comped,
stripe_customer_id: stripeCustomerId,
created_at: member.created_at,
deleted_at: member.deleted_at,
created_at: JSON.stringify(member.created_at),
deleted_at: JSON.stringify(member.deleted_at),
labels: labels
};
});