facebook

project runs in test center, not mobile web sim

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #344896 Reply

    DaveClark
    Participant

    this 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.
    #344900 Reply

    support-michael
    Keymaster

    @daveclark

    The 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.

    #344903 Reply

    Unknown Author
    Participant

    How do you know that it’s groundless? You don’t. That’s an issue.

    #344904 Reply

    support-michael
    Keymaster

    >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.

    #344905 Reply

    DaveClark
    Participant

    I 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.

    #344909 Reply

    support-michael
    Keymaster

    >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).

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: project runs in test center, not mobile web sim

You must be logged in to post in the forum log in