Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Calendar control changes date format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Calendar control changes date format
 Login/Join
 
Virtuoso
posted
Hello again,

I've run into a fresh and new problem! I was debugging some strangeness in an existing report and found out that it was caused by the calendar control - the one from Development Studio.

Our calendar control gets initialised with a !IBI.AMP.FROMDATE value formatted according to 'DD/MM/YYYY'. If the report is submitted like that, the report-fex properly receives a value according to that format. Same if the user changes the date by typing in the form field.
However, if the calendar control (that javascript popup thing) gets used, the date format of the posted value changes to 'DDMMYYYY'! It is perfectly capable of interpreting the value it receives though, even if you change it by typing into the input field (of course while making sure to keep the format according to 'DD/MM/YYYY').

I've looked at the properties one can set on those controls, and the only thing related to date formats is the 'Date format in data source' field, which is set to "15/01/2010 (DMYY)" - which seems correct but is probably unrelated to our problem anyway.

What to do about this?

This message has been edited. Last edited by: Kerry,


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Virtuoso
posted Hide Post
As far as I have been able to research this, it is a bug in release 7.6.11 and 7.7.01.
Rumor has it that it will be resolved again in release 7.7.02.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
We've experienced this issue at HMC as well on 7.6.11

USers have to manually enter dates, or, you can modify the code to check for the existence of / and go from there.

Hopefully this gets resolved, seems like a bigger issue than just waiting until 7.7.02 for anyone who uses the date controls.


______________________
WF Version: Prod/Test : WebFOCUS 7.67; ETL 7.67

OP system: WIN2K
 
Posts: 18 | Registered: June 28, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Calendar control changes date format

Copyright © 1996-2020 Information Builders