Date format problem in config

Date format problem in config
Kat#b0d39 Saturday 21st May 2016, 17:58:04

Hello!
Just installed Flatboard, thanks.
But I am stuck with the config page : I cannot save my changes, because of the date field, it says (in red !) : Date Format Too short / long
I have tried several entries, to no avail.
Can you help, please ?
![Pic](http://img.prntscr.com/img?url=http://i.imgur.com/pxNjhCs.png)

Last modified by Kat#b0d39 on Tuesday 12th March 2019, 09:00:00
Kat#b0d39 locked the discussion.

Replies 7
Fred
Fred  Saturday 21st May 2016, 18:06:20

Hi,

Use the php date format => [function.date](http://php.net/manual/en/function.date.php)
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • I am currently busy 😫.

Kat#b0d39  Saturday 21st May 2016, 19:01:07

Merci !
It looks that the problem lies with my favorite browser, PaleMoon, which is not compliant with the Flatboard config pages. Some fields cannot be entered, such as the colors for the menu bar or the forums icons. I even tried to open it in safe mode (ie : all add-ons disabled) To no avail.
I was able to make some changes in Edge (my OS is windows 10).

For the date field, I have tried everything with PaleMoon, with no result. While in Edge, clicking on the field provides an example calendar where I can choose my date format.

I have been using PaleMoon for 2 years, installed and managed several different cms, and it's the first time such a problem arises. Keep in mind that my technical skills are limited (my English too, it seems). Sorry. Using 2 different browsers will be a problem. Do you have any any ideas where the problem lies ?

Fred
Fred  Saturday 21st May 2016, 19:34:46

  I think the problem is that your browser does not support **HTML5** tags *(date, and color including here)*.
So sorry but I is not appropriate solution by offering you another browser. If people really alot of back problem, I can change all types of fields in forms.
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • I am currently busy 😫.

Kat#b0d39  Saturday 21st May 2016, 20:17:17

Many thanks Fred !
I installed an html5 test page [http://katryne.legtux.org/test-html5.html](http://) on one of my web sites, and it appears that Pale Moon does not support color and canvas tags, but it's ok for the rest of them, including the date tag. I will ask the PaleMoon team about this dysfunction.

Kat#b0d39  Saturday 21st May 2016, 21:48:32

I found a post on PaleMoon forum about the date tag. It says :
"*The date format required is ISO; it does not accept localized date formats.
This means yyyy-mm-dd*"
When I enter 2016-05-21, I can do it in Pale Moon. Cannot enter the date french way though, the other way round. But at least the date issue gets a soluce for me.
According to Caniuse, the html5 color tag seems to be more widespread than the date one. I will inquire about it at Palemoon forum

Fred
Fred  Saturday 21st May 2016, 22:40:08

The forum is set on English?
In the language file, you have the correct encoding format?
mb_internal_encoding("ISO-8859-1");
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • I am currently busy 😫.

Kat#b0d39  Sunday 22nd May 2016, 06:33:26

Hi !
I just noticed that you are "the" Fred of the *old* 1clickedit, which I am testing too. Thanks for everything. I am *trying* to integrate a forum in a flat file cms which is in alpha version.

I set the Flatboard forum to French and the language file encoding is utf-8
mb_internal_encoding("UTF-8");

I posted a message on PaleMoon forum and the coder answers that the color input-type is on the to-do list, without any priority. I tried to implement a fallback, the way I do with prefixes for my css when Caniuse [http://caniuse.com/#feat=input-color](http://) tells me my code is not universal. But that's beyond my abilities. (I tried spectrum.js ... and failed)

I wish to make my sites accessible to a majority of users.