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] Can WebFocus 8 Use the Browser Locale?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Can WebFocus 8 Use the Browser Locale?
 Login/Join
 
Gold member
posted
Can WebFocus 8 use the browser's locale to alter dates and times to the correct values, and alter date and time formats to their regional formats?

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


WebFOCUS 8.2.04 (and climbing)
Windows 10, AppStudio
 
Posts: 84 | Registered: February 08, 2018Report This Post
Expert
posted Hide Post
I believe it can. However, your procedures need to accommodate for that. That 'locale' stats come from, I think, the location of the severer which is where the procedures are processed.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Gold member
posted Hide Post
That's what I've been reading. It's a silly thing to do since it's what the user sees that's important. Using the locale of the browser, which is easily available, makes much more sense. I've seen javascript implementations of this though. But all this is old, 2012 and before.


WebFOCUS 8.2.04 (and climbing)
Windows 10, AppStudio
 
Posts: 84 | Registered: February 08, 2018Report This Post
Gold member
posted Hide Post
I have always used JS if i have to do anything related to locale, it is easy and reliable.


WF 8.2.04
Windows/Unix
All Formats
In Focus since 2006
 
Posts: 74 | Location: UK | Registered: September 17, 2018Report This Post
Guru
posted Hide Post
If you have enabled the dynamic language switch, a user selects a language once and that choice is kept in a cookie. Default output on the server is whatever is defined in the masterfile. Using:

SET DATE_ORDER=
SET DATE_SEPARATOR=
SET TIME_SEPARATOR=
SET DATEOUTPUT=LOCALIZED

You can set the right formats you need. Especially for multinational enterprises you don't want the user's browser to be leading in choosing the date format.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 454 | Location: Europe | Registered: February 05, 2007Report This Post
Gold member
posted Hide Post
Interesting. Still, not the dynamic solution that would be necessary in places like Europe. It doesn't deal with the user's timezone, which is what started me down this road, either.

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


WebFOCUS 8.2.04 (and climbing)
Windows 10, AppStudio
 
Posts: 84 | Registered: February 08, 2018Report 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] Can WebFocus 8 Use the Browser Locale?

Copyright © 1996-2020 Information Builders