mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-13 02:56:13 +01:00
Add Expense Date (#26)
* add expense date * Improve date formatting * Prettier * Change field description --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
This commit is contained in:
@@ -80,6 +80,7 @@ async function main() {
|
||||
amount: Math.round(expenseRow.amount * 100),
|
||||
groupId: groupRow.id,
|
||||
title: expenseRow.description,
|
||||
expenseDate: new Date(expenseRow.created_at.toDateString()),
|
||||
createdAt: expenseRow.created_at,
|
||||
isReimbursement: expenseRow.is_reimbursement === true,
|
||||
paidById: participantIdsMapping[expenseRow.paid_by_participant_id],
|
||||
|
||||
Reference in New Issue
Block a user