feat: TDR Dropdown verbessert – Anzeige im deutschen Format mit Fehlerstelle
- Dropdown-Einträge zeigen jetzt nur Zeitstempel (deutsches Format) und Fehlerstelle ("d") an
- ID wird weiterhin als `value` genutzt, aber nicht angezeigt
- Zeitstempel wird mit `toLocaleString("de-DE", {...})` formatiert
- Anzeigeformat z. B.: "27.03.2025, 23:42:41 – Fehlerstelle: 8805 m"
This commit is contained in:
@@ -122,7 +122,15 @@ const TDRChartActionBar: React.FC = () => {
|
|||||||
<option value="">-- Wähle Messung --</option>
|
<option value="">-- Wähle Messung --</option>
|
||||||
{idsForSlot.map((entry) => (
|
{idsForSlot.map((entry) => (
|
||||||
<option key={entry.id} value={entry.id}>
|
<option key={entry.id} value={entry.id}>
|
||||||
ID {entry.id} – {entry.t}
|
{new Date(entry.t).toLocaleString("de-DE", {
|
||||||
|
day: "2-digit",
|
||||||
|
month: "2-digit",
|
||||||
|
year: "numeric",
|
||||||
|
hour: "2-digit",
|
||||||
|
minute: "2-digit",
|
||||||
|
second: "2-digit",
|
||||||
|
})}{" "}
|
||||||
|
– Fehlerstelle: {entry.d} m
|
||||||
</option>
|
</option>
|
||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
2: Patch oder Hotfix (Bugfixes oder kleine Änderungen).
|
||||||
|
|
||||||
*/
|
*/
|
||||||
const webVersion = "1.6.193";
|
const webVersion = "1.6.194";
|
||||||
export default webVersion;
|
export default webVersion;
|
||||||
|
|||||||
Reference in New Issue
Block a user