Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Who's Online

Person82 (1 users seen recently)

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
242 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
906 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
4869 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?

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
The field Start Date/Time must be a date 09/10/2017 at 19:46 #102133
Jan
Avatar
906 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:24 #102134
chrisdmadd
Avatar
242 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
906 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:19 #102142
chrisdmadd
Avatar
242 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
MarkC
Avatar
1105 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:12 #102145
Sacro
Avatar
1171 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:29 #102152
Jan
Avatar
906 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:34 #102153
MarkC
Avatar
1105 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:56 #102180
chrisdmadd
Avatar
242 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
5264 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)?

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Log in to reply
The field Start Date/Time must be a date 12/10/2017 at 00:08 #102182
MarkC
Avatar
1105 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 MarkC
Reason: None given

Log in to reply