adding date to txt export
This commit is contained in:
parent
8cd8ee92a4
commit
9b0e4f7fe3
1 changed files with 1 additions and 0 deletions
|
|
@ -312,6 +312,7 @@
|
||||||
} else {
|
} else {
|
||||||
for (const registration of registrations) {
|
for (const registration of registrations) {
|
||||||
lines.push(registrationHeading(registration));
|
lines.push(registrationHeading(registration));
|
||||||
|
lines.push(`Skapad: ${formatDateTime(registration.created_at) ?? registration.created_at}`);
|
||||||
for (const field of entryFields()) {
|
for (const field of entryFields()) {
|
||||||
const value = fieldValue(registration.entry, field).trim();
|
const value = fieldValue(registration.entry, field).trim();
|
||||||
lines.push(`${field.label}: ${value || '—'}`);
|
lines.push(`${field.label}: ${value || '—'}`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue