Changelog: Stichwort statt Version, Datum + Uhrzeit bei Einträgen
This commit is contained in:
@@ -1200,7 +1200,7 @@ function ChangelogModal({ user, toast, onClose }) {
|
||||
catch(e){ toast(e.message,'error'); }
|
||||
};
|
||||
|
||||
const fmtDate = s => { if (!s) return ''; const d = new Date(s.replace(' ','T')); return isNaN(d)?'':d.toLocaleDateString('de-DE',{day:'2-digit',month:'2-digit',year:'numeric'}); };
|
||||
const fmtDate = s => { if (!s) return ''; const d = new Date(s.replace(' ','T')); return isNaN(d)?'':d.toLocaleString('de-DE',{day:'2-digit',month:'2-digit',year:'numeric',hour:'2-digit',minute:'2-digit'}); };
|
||||
|
||||
return (
|
||||
<div style={{position:'fixed',inset:0,background:'rgba(0,0,0,0.85)',zIndex:7000,
|
||||
@@ -1226,7 +1226,7 @@ function ChangelogModal({ user, toast, onClose }) {
|
||||
<div style={{...S.head,marginBottom:8}}>NEUER EINTRAG</div>
|
||||
<div style={{display:'grid',gridTemplateColumns:'1fr 2fr',gap:8,marginBottom:8}}>
|
||||
<input value={form.version} onChange={e=>setForm(p=>({...p,version:e.target.value}))}
|
||||
placeholder="Version (z.B. 1.4.2)" style={{...S.inp,fontSize:12}}/>
|
||||
placeholder="Stichwort (z.B. Nachrichten)" style={{...S.inp,fontSize:12}}/>
|
||||
<input value={form.title} onChange={e=>setForm(p=>({...p,title:e.target.value}))}
|
||||
placeholder="Kurztitel" style={{...S.inp,fontSize:12}}/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user