Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL-Fehler bei Eingabe von "falschem Datum" #27

Open
fietstouring opened this issue Sep 9, 2022 · 1 comment
Open

SQL-Fehler bei Eingabe von "falschem Datum" #27

fietstouring opened this issue Sep 9, 2022 · 1 comment

Comments

@fietstouring
Copy link

Description / Beschreibung
Gibt man ein Datum eines Termins manuell in das Feld ein und vertauscht Monat und Tag zB 2022-28-10 erhält man einen SQL Fehler. Die falsche Eingabe sollte vor dem Speichern abgefangen werden.

DateTime::__construct(): Failed to parse time string (2022-28-10 16:00:00) at position 6 (8): Unexpected character

Affected versions / Verwendete Versionen

REDAXO:
PHP:
Database:
Browser:
AddOns:

Did it whoops? / Whoops erhalten?

@skerbis
Copy link
Member

skerbis commented Sep 15, 2022

Die Felder müssten als date Felder deklariert werden. Leider gibt's da noch n CSS-Problem im REDAXO Core.

@skerbis skerbis added the bug Something isn't working label Sep 15, 2022
@skerbis skerbis removed the bug Something isn't working label Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants