Focal Point
77 calendar date formats are different from 76 <solved>

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2047086476

February 11, 2015, 03:40 PM
susannah
77 calendar date formats are different from 76 <solved>
hmmm
html page says dateformat is mdyy
in 76 we populate with 02/10/2015
it reads with the slashes and delivers the slashes to the fex.
in 77, nope. dateformat of mdyy displays slashes in the calendar ok but doesn't deliver them to the fex. 77 calendar delivers 02102015.

anyone have any other experience? or a w/a?

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




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
February 11, 2015, 03:43 PM
Tom Flynn
Hi Susannah,
You need the HOTFIX, #5 or 6, if I recall...
It fixes the HTML passing of the amperes.
Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
February 11, 2015, 04:19 PM
susannah
ah
i see that hotfix is for 7703
we're in 7705
ain't no hotfixes for 7705.....
you'ld figure they would have incorporated all the fixes in the new version, wouldn't you?
but NOOOOOOOOOOOOOOOOOOO
thanks T!

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




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
February 12, 2015, 06:41 AM
Jay Potter
I started in 7704 and didn't know that it used to display the slashes. This is what I did so that I would have slashes in my headings. It may be ugly, but it worked.

-SET &DATE_VALUE = IF &DATE_VALUE EQ 0 OR &DATE_VALUE EQ '' THEN '' ELSE
- SUBSTR(9, &DATE_VALUE, 1, 2, 2,A2) | '/' | SUBSTR(9, &DATE_VALUE, 3, 4, 2,A2) | '/' | SUBSTR(9, &DATE_VALUE, 5, 8, 4,A4);


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
February 12, 2015, 09:24 AM
George Patton
quote:
ain't no hotfixes for 7705....

Not true! I'm in the process of getting my EDAMAIL issue (hopefully) fixed through a 7705 maintenance release. This isn't available via the website but I've just received download instructions from tech support.

My dates are always YYMD - displayed as YYYY-MM-DD - (Do I care if my users want M/D/Y? No! They need to be educated ...) and I've never had any issues with dates since Pontious was a pilot ...


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
February 12, 2015, 12:30 PM
susannah
@Jay,
quicker way, with an edit mask
lets say you have 02/11/2015 displaying in the calendar
and 02112015 being delivered from the calendar after you change from the default.
-SET &MYDATE = IF &MYDATE.LENGTH EQ 10 THEN &MYDATE.QUOTEDSTRING ELSE EDIT(&MYDATE,'99/99/9999');

@george. sweet. i have a case open and i'll wait for a similar reply. in the meantime i'm changing hundreds and hundreds of fexes with some bulletproofing (as above) and cursing.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
February 12, 2015, 12:36 PM
Jay Potter
Thanks I will use that.


WebFocus 8.1.5
iSeries/Windows
DB2/SQL/Access
Dev Studio
App Studio
Maintain
ReportCaster
February 18, 2015, 11:35 AM
susannah
well, i found out why.
here's a restatement of the issue:
In 77, some of our calendars didn’t work when migrated from 768
e.g. a MDYY type would display 02/17/2015 in the box on the launch page, and deliver it with the slashes, when it was populated by an XML with today’s date
MYDATE = 02/17/2015
When you use the calendar to change that date, the slashes dropped out
MYDATE = 02172015

In 768, all worked fine; both the default date and the changed date
MYDATE = 02/17/2015

HERE’S THE FIX
cacheruntimedata="0"
was missing in the calendar control in 768; had no adverse impact
was still missing in the migrated .htm in 77; disaster!

Add it to the calendar control and all is well; GO FIGURE!

But you guys need to know




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID