Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Frontend edit allowed input date format dd.mm.yyyy

Frontend edit allowed input date format dd.mm.yyyy 1 year 10 months ago #24429

  • saxel
  • saxel's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
Hallo,

die Frontendeingabe erlaubt im Eingabefeld (nicht übers Kalendersymbol) nur das Format yyyy-mm-dd

Anstatt des Symbols tippen viele User das Datum im deutschen Format ein.

Dazu gibt es in der Sprachdatei auch die Meldung COM_JEM_DATE_HINT="Format yyyy-mm-dd!"

(Diese Meldung wurde mir übrigens nicht angezeigt trotz Eingabe im Format "18.11.2017". Es wurde einfach eine Veranstaltung mit Datum 2018-06-24 angelegt - mehrfach getestet.)

Wie kann ich das zulässige Eingabeformat ändern zu dd.mm.yyyy statt yyyy-mm-dd?

Danke im Voraus und viele Grüße Axel

English:

Hi,

how can I change the allowed input date format from "yyyy-mm-dd" to "dd.mm.yyyy" for frontend edit venue?

Kind regards & thanks Axel

Please Log in or Create an account to join the conversation.

Frontend edit allowed input date format dd.mm.yyyy 1 year 10 months ago #24430

  • jojo12
  • jojo12's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 3074
  • Karma: 45
  • Thank you received: 322
I know this, but it is a general joomla problem! It's the ISO 8601 standard!
Try the same in a custom joomla field or in the date field for an article.
5.5.5-10.0.30-MariaDB-0+deb8u1
PHP 7.2.9 on different sites
Apache
JEM 2.3.0dev 2.0M and specials with Joomla! 3.9.3 stable on livesites
ja_simply, ja_purity_iii, multilingual DE EN IT FR

Please Log in or Create an account to join the conversation.

Last edit: by jojo12.

Frontend edit allowed input date format dd.mm.yyyy 1 year 8 months ago #24598

I test last version of JEM and Joomla.

I tried to manually enter the date in the dd.mm.yyyy format in the article on the publication date. Once saved, everything is fine.

If, when creating a new event, I manually enter the date in the same format in the end date field, then after the event is saved, the date will change to nonsense, for example.

For example, I enter 3.12.2017 - after saving it will change to date 2009-06-08 - which is nonsense and the error will be in JEM and not in Joomla.

Does anyone know how to modify entries into data boxes so that the date goes in dd.mm.yyyy?

(My experience from my site - in our country it is customary to enter the date in the format dd.mm.yyyy and many people enter the date manually .... :-(

Please Log in or Create an account to join the conversation.

Frontend edit allowed input date format dd.mm.yyyy 1 year 8 months ago #24599

  • jojo12
  • jojo12's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 3074
  • Karma: 45
  • Thank you received: 322
at the moment the best is: insert a placeholder text like "please use calendar button"
5.5.5-10.0.30-MariaDB-0+deb8u1
PHP 7.2.9 on different sites
Apache
JEM 2.3.0dev 2.0M and specials with Joomla! 3.9.3 stable on livesites
ja_simply, ja_purity_iii, multilingual DE EN IT FR

Please Log in or Create an account to join the conversation.

Frontend edit allowed input date format dd.mm.yyyy 1 year 8 months ago #24605

  • Hoffi
  • Hoffi's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 2279
  • Karma: 52
  • Thank you received: 449
This problem is caused by Joomla which decided with version 3.7.x to replace the working calendar field by this new stupid one. So please report this as a bug in Joomla (which you also see e.g. in Publish Up / Publish Down fields on an article).

If you have Joomla! 3.6.5 or older all works fine and you don't understand this discussion here.

Deutsch:
Hallo Axel, seit Joomla! 3.7 ist die Datumseingabe in internationalen Formaten - so wie sie im PHP-Handbuch aufgelistet sind - nicht mehr möglich. Das da eingeführte neue Kalendar-Objekt ist zu dumm dazu und generiert stillschweigend völlig chaotische Datumswerte. Du kannst ja mal bei den Joomla-Jungs anfragen, ob sie gewillt sind, diesen Bug zu beheben.
Pessimists are optimists with experience!

Please Log in or Create an account to join the conversation.

Last edit: by Hoffi.

Frontend edit allowed input date format dd.mm.yyyy 1 year 8 months ago #24606

  • jojo12
  • jojo12's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 3074
  • Karma: 45
  • Thank you received: 322
anyway: a hint in the placeholder would be good?
5.5.5-10.0.30-MariaDB-0+deb8u1
PHP 7.2.9 on different sites
Apache
JEM 2.3.0dev 2.0M and specials with Joomla! 3.9.3 stable on livesites
ja_simply, ja_purity_iii, multilingual DE EN IT FR

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.234 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.