PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) Troubleshooting Date Formatting problems

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26267

    Hi,

    I am experiencing some strange behaviour with PD4ML. On generated PDFs, the date format of dates is rendering as FULL Date and Time strings, but the HTML I am putting into PD4ML only contains a short date format??

    I.E Fri 18 Sep 09 becomes Fri Sep 18 22:25:00 NZST2009.

    My first question is – Does PD4ML try and be clever and detect dates? This is strange because surely the input symbols should be treated as Strings …

    Secondly, is the local machines date and time format settings responsible for the output of PD4ML in any way???

    Im scratching my head a little as to what is causing this.

    #27543

    Hmm… Here I can only guess. Of course, PD4ML does not try to logically interpret source documents and recognize date info there.

    Obviously the source HTML is generated dynamically. The web resource (JSP, PHP etc), which generates the HTML probably takes care about locale info comes with HTTP request.

    PD4ML does not send any locale info, so the page is generated with the locale defaults.

    P.S. Sorry for the delay with the reply.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.