Sidebar: Projekt-Admin entfernt (Admin-Panel abgeschaltet)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
feda436936
commit
36eb55b81b
12 files changed
+12
-45
No files matched your search
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Gemeinsame Formate fuer die Bereiche aus dem Admin-Panel (Gutschriften, Angebote, E-Mail-Speicher).
|
||||
// Gemeinsame Formate fuer die Bereiche aus dem frueheren Admin-Panel (Gutschriften, Angebote, E-Mail-Speicher).
|
||||
// Deutsche Zeit (Europe/Berlin), Euro wie Intl de-DE. Rein, unter Node testbar.
|
||||
|
||||
const EURO = new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' })
|
||||
@@ -30,7 +30,7 @@ export function fmtDate(value) {
|
||||
return `${p.day}.${p.month}.${p.year}`
|
||||
}
|
||||
|
||||
/** dd.mm.yy, hh:mm (deutsche Zeit) wie im Admin-Panel; leer -> "–" */
|
||||
/** dd.mm.yy, hh:mm (deutsche Zeit) wie im frueheren Admin-Panel; leer -> "–" */
|
||||
export function fmtDateTime(value) {
|
||||
if (!valid(value)) return value ? String(value) : '–'
|
||||
const p = parts(value, { day: '2-digit', month: '2-digit', year: '2-digit', hour: '2-digit', minute: '2-digit' })
|
||||
|
||||
Reference in new issue
Block a user