- This topic has 5 replies, 3 voices, and was last updated 11 years ago by support-michael.
-
AuthorPosts
-
DaveClarkParticipantthis project does not run in mobile web simulator, but does run in test center
in test center everything works as expected. in mobile web simulator NaN comes up in the results box.
can anyone tell me why?
Attachments:
You must be logged in to view attached files.
support-michaelKeymasterThe issue you are encountering is due to inconsistent implementations of Date.parse() across different browsers. The AM/PM qualifier is not part of the supported timestamp formats supported by the js standard and is tripping up your code in the Simulator’s Chrome JS engine. I ran some tests and your implementation runs correctly on ios7 but fails on the lastest version of android. My recommendation is to:
1) revise your code to respect the js Date spec for valid datetime format or use a utility such as Globalize.js to parse your date strings and
2) continue using the Simulator as the old Test Center is obsolete@thinchip I deleted your groundless complaint as it adds no value to this topic. Please open a topic and provide specific issues rather than posting FUD. We will give such posts priority.
Unknown AuthorParticipantHow do you know that it’s groundless? You don’t. That’s an issue.
support-michaelKeymaster>How do you know that it’s groundless? You don’t. That’s an issu
If you have an issue with the Simulator open your own thread and provide details. We’ll give them priority. But until you do that your negative generalization of the simulator is groundless and not helpful – that’s my issue.
DaveClarkParticipantI am way over my head on this project. If your could provide the Globalize.js include file or give me a clue as how to modify my code in the time and date validation functions would really help me out.
support-michaelKeymaster>r could provide the Globalize.js include file or give me a clue as how to modify my code in the time and date validation functions
I’ll give it a look later today or tomorrow (off for holiday weekend).
-
AuthorPosts