Upcoming Games


Kings cross 1998 24/10/2017 17:30:00 - tjfrancis

{Read Info} Super Chain 27/10/2017 18:31:00 - marquel41494

Upcoming Events

Who's Online

The field Start Date/Time must be a date

You are here: Home > Forum > General > Website / Forum > The field Start Date/Time must be a date

Page 1 of 1

The field Start Date/Time must be a date 09/10/2017 at 12:13 #102124
chrisdmadd
Avatar
91 posts
Why can't we add games when using mobile still due to the above error?!

Very frustrating for those of us who host but aren't always on a desktop.

Log in to reply
The field Start Date/Time must be a date 09/10/2017 at 19:08 #102130
Jan
Avatar
500 posts
There are two issues at play here:
1. The desktop page has a JS date/time picker, presumably because support for native date/time input controls is still patchy among desktop browsers. This picker isn't used on the mobile page, though.
2. The <input> field uses type="datetime". It seems that type="datetime" has been dropped from the HTML standard, though and Chrome or Safari on mobile no longer support it (although it still works with Firefox on Android). Apparently the recommended solution is to use type="datetime-local" instead.

Two million people attempt to use Birmingham's magnificent rail network every year, with just over a million of them managing to get further than Smethwick.
Log in to reply
The field Start Date/Time must be a date 09/10/2017 at 19:12 #102131
headshot119
Avatar
2369 posts
Jan in post 102130 said:
There are two issues at play here:
1. The desktop page has a JS date/time picker, presumably because support for native date/time input controls is still patchy among desktop browsers. This picker isn't used on the mobile page, though.
2. The <input> field uses type="datetime". It seems that type="datetime" has been dropped from the HTML standard, though and Chrome or Safari on mobile no longer support it (although it still works with Firefox on Android). Apparently the recommended solution is to use type="datetime-local" instead.
But which version of the mobile site, blue or green?

"Platform 1 your Maesteg service. Platform 1A your Aberdare. Platform 2 your London!"
Log in to reply
The field Start Date/Time must be a date 09/10/2017 at 19:45 #102133
Jan
Avatar
500 posts
Regarding 1.), that's the dedicated mobile site, i.e. the blue one which you get by default when using Chrome.
The responsive layout of the green site still has the JS picker, which on Firefox on Android has the interesting side effect that after clicking into the input field both Simsig's and Firefox's date/time pickers pop up.

2.) principally applies to both page versions.

Two million people attempt to use Birmingham's magnificent rail network every year, with just over a million of them managing to get further than Smethwick.
Last edited: 09/10/2017 at 19:46 by Jan
Reason: None given

Log in to reply
The field Start Date/Time must be a date 09/10/2017 at 23:23 #102134
chrisdmadd
Avatar
91 posts
mines always green when using the mobile phone with chrome (IOS)
Log in to reply
The field Start Date/Time must be a date 10/10/2017 at 19:09 #102141
Jan
Avatar
500 posts
Hmm, okay, maybe iOS is different there, possibly because any browser on iOS is basically just a reskinned version of Safari as Apple doesn't allow any alternative browser engines.
However if you're getting the green version of the page, shouldn't you be seeing the date/time picker built into the site?

Two million people attempt to use Birmingham's magnificent rail network every year, with just over a million of them managing to get further than Smethwick.
Log in to reply
The field Start Date/Time must be a date 10/10/2017 at 19:18 #102142
chrisdmadd
Avatar
91 posts
Chrome is on IOS.

And i do use the date picker it just doesn't accept the date format.

Log in to reply
The field Start Date/Time must be a date 10/10/2017 at 19:43 #102144
mark265
Avatar
468 posts
chrisdmadd in post 102142 said:
Chrome is on IOS.

And i do use the date picker it just doesn't accept the date format.
What date time format are you using?

1) dd-mm-yyyy hh:mm
2) mm-dd-yyyy hh:mm
3) yyyy-mm-dd hh:mm

Log in to reply
The field Start Date/Time must be a date 10/10/2017 at 20:11 #102145
Sacro
Avatar
934 posts
chrisdmadd in post 102142 said:
Chrome is on IOS.
Chrome isn't, it's just Safari with a Chrome theme. Apple don't allow other browser rendering engines.

Last edited: 10/10/2017 at 20:12 by Sacro
Reason: None given

Log in to reply
The field Start Date/Time must be a date 10/10/2017 at 23:28 #102152
Jan
Avatar
500 posts
Tested with Chrome on Android and it's working fine, but as alluded to above this is probably not really comparable, so somebody with an iDevice needs to look at this.

@mark265: Out of curiosity, does the same thing happen when you use Safari? I'd guess yes, but just to be sure.

Two million people attempt to use Birmingham's magnificent rail network every year, with just over a million of them managing to get further than Smethwick.
Log in to reply
The field Start Date/Time must be a date 10/10/2017 at 23:33 #102153
mark265
Avatar
468 posts
Jan in post 102152 said:
Tested with Chrome on Android and it's working fine, but as alluded to above this is probably not really comparable, so somebody with an iDevice needs to look at this.

@mark265: Out of curiosity, does the same thing happen when you use Safari? I'd guess yes, but just to be sure.
I don't know I use firefox.

From what I have found the date format for adding games is the 3rd option I put up, (yyyy-mm-dd hh:mm) I tested inputting (manually) and it worked, on the mobile page it did not bring up the calender/time selection box, but it can be typed in using the mentioned date/time format

Log in to reply
The field Start Date/Time must be a date 11/10/2017 at 23:55 #102180
chrisdmadd
Avatar
91 posts
mark265 in post 102144 said:
chrisdmadd in post 102142 said:
Chrome is on IOS.

And i do use the date picker it just doesn't accept the date format.
What date time format are you using?

1) dd-mm-yyyy hh:mm
2) mm-dd-yyyy hh:mm
3) yyyy-mm-dd hh:mm
As soon as I click the date/time box the calendar comes up and I chose the date, it's input as format 3 from the above.

If I delete the date and type 11-10-2017 it changes it to 0011-10-20 17:00 and still won't accept it with the same error as mentioned.

Log in to reply
The field Start Date/Time must be a date 12/10/2017 at 00:05 #102181
postal
Avatar
3004 posts
chrisdmadd in post 102180 said:
If I delete the date and type 11-10-2017 it changes it to 0011-10-20 17:00 and still won't accept it with the same error as mentioned.
What happens if you type in for example 2017-10-11 17:00 (i.e. typing in the 3rd. format as it requires)?

"I believe that every human has a finite number of heart-beats. I don't intend to waste any of mine running around doing exercises." - Edwin Eugene (Buzz) Aldrin Jr. b. 20/02/30, Fighter Pilot and Astronaut.
Log in to reply
The field Start Date/Time must be a date 12/10/2017 at 00:08 #102182
mark265
Avatar
468 posts
chrisdmadd in post 102180 said:
mark265 in post 102144 said:
chrisdmadd in post 102142 said:
Chrome is on IOS.

And i do use the date picker it just doesn't accept the date format.
What date time format are you using?

1) dd-mm-yyyy hh:mm
2) mm-dd-yyyy hh:mm
3) yyyy-mm-dd hh:mm
As soon as I click the date/time box the calendar comes up and I chose the date, it's input as format 3 from the above.

If I delete the date and type 11-10-2017 it changes it to 0011-10-20 17:00 and still won't accept it with the same error as mentioned.
Say you are hosting a session on the 13 October 2017 at 1830 when you type in the box it must be in the following way

2017-10-13 18:30

Last edited: 12/10/2017 at 00:08 by mark265
Reason: None given

Log in to reply