Calender Date issue with past dates in Infoview

I know this subject has been done to death already, but I’m experiencing something slightly different, which I can’t seem to find documented already.

First up, we’ve just rolled out XI R2 SP2. (No FP’s at this stage)

We use english (Australian) date format of DD/MM/YYYY.

Initially we were experiencing date issues with the calendar object in Infoview, as dates were being converted to US, however we managed to resolved this no problem.

Now we do however find the following, to make things easier to explain, Ive outlined it as a logical process:

  • A user clicks on the calendar, and it defaults to today. :yesnod:
  • The user selects the date (Let’s say in the future), and the date is then populated in the user prompt field. :yesnod:
  • If the user returns to the same calendar, the calendar returns to previous date selected. :yesnod:
  • The user reselects a date, (This time in the past), and the date is then repopulated in the user prompt field. :yesnod:
  • The user returns to calendar and the date goes to January of that year. :nonod:

After doing a raft of testing, basically, if the preselected date present in the user prompt is before today, the calendar takes you to January of the year instead of the date selected. :evil:

Future dates is not an issue.

Is anyone else getting this, and has a case been logged with BusObj?


The Emu :australia: (BOB member since 2002-09-13)

Hi there,

We’ve also reproduced this issue using XIR2 SP2 + the most recent fixpack.

we’ve managed to narrow it down to when August & September are the values selected in the date prompt - the calendar will open on January.
All other months are fine.

Start Date = 21/08/2007 … calendar opens on January

Start Date = 21/07/2007 … calendar opens correctly on July

Speaking to the BO guys, it doesn’t appear to have been raised as a bug yet.
If there isn’t one we will log a case and get a bug number — I’ll post this once I get it.


Reporter Bloke :uk: (BOB member since 2004-05-20)

Hi

We have come across this exact problem… we are just testing FP2.4 and it still seems to exist

Was very confusing, kept getting not data fetch on reports… when we realised that it was due to using dates in the calendar it all became clear!

Interesting about the ‘august & september’ information

We are logging an issue with BO

We are using English (New Zealand) as a language. If we have English selected out date formats are usa mm/dd/yyy instead of dd/mm/yyyy.
Finding lots of other date/time issues … document prompt …select a date from the calendar and it inserts the date & time


LLBuchanan :new_zealand: (BOB member since 2006-03-08)

Good to hear it’s not just us then,

At the moment i’m advising people not to use the calendar to select dates… it seems far too flaky.

As for the other date issues are concerned there a number of things to check,
this is a list i’ve compiled …

Symptoms

A. Date prompts in infoview and Deski are displayed in American format.
B. When running a query a datetime error is generated:
Example with SQL server

“[Exception: DBD, [Microsoft][ODBC SQL Server Driver][SQL Server]”
converting a Char data type to a DateTime data type

Resolution

CHECKLIST

  1. Ensure that the universe is using an ODBC connection

  2. Ensure stored procedures are using an ODBC connection

  3. Set the ODBC connection to use British/English as the default language

  4. Migration forced UK English has been applied in the designer module:
    Tools>Options>Tick ‘migration forced’
    Click the grey ‘English’ option > Unsupported Languages > Select “English
    (United Kingdom)”

  5. Force migration in Desktop Intelligence

  6. Regional settings on the server and client machines are set to UK English

  7. Object used in the prompt
    In Designer edit the properties of the date object > Advanced Tab > Ensure
    that the “Database Format” is left blank.

  8. PRM file setting: ‘User_Input_Date_Format’ should be set to ‘dd/MM/yy’ or
    ‘dd/MM/yyyy’
    (The timestamp applied is not known to have an impact on the problem)

SQL Server example:
C:\Program Files\Business Objects\BusinessObjects Enterprise
11.5\win32_x86\ dataAccess\connectionServer\odbc\sqlsrv.prm

‘mm/dd/yyyy HH:m:s’

Change to

‘dd/MM/yyyy HH:m:s’

** You need to stop and restart all XI Servers after modifying the prm file.
Otherwise the changes will not take effect. **

  1. If all of the above fails - delete the user prefs folder in the registry for
    the BO user account experiencing the problem
    HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\default\BusinessObjects\ “username” user prefs
    Log back into Business Objects and rerun the report.

Applying all of the above changes will in most cases resolve the problem when the database holds values in an American format and it is possible to use an ODBC connection.

If the problem persists an additional step would be to modify settings directly on the server that hosts the database.

!! This should only be performed with the permission of the Database Administrator !!

Change following keys in HKUSERS.default\control panel\International\iDate
change to match HKUSERS\S-1-5-21-85988526-949360888-199955091-500\control panel\International\iDate

Key US UK
iCountry 1 44
iDate 0 1
iFirstDayOfWeek 6 0
iMeasure 1 0
iNegCurr 0 1
iTime 0 1
iTLZero 0 1
Locale 00000409 00000809
sCountry United States United Kingdom
sCurrency $ £
sLanguage ENU ENG
sLongDate dddd, MMMM dd, yyyy dd MMMM yyyy
sShortDate M/d/yyyy dd/MM/yyyy
sTimeFormat h:mm:ss tt HH:mm:ss

MORE

When using ODBC connections the date format will be determined on the Business Objects server.
OLEDB connections will take the date format from the machine hosting the Database

WARNING

Before making any changes to files on the server please ensure that you have made backups of the relevent files and fully understand the consequences of the changes being made.

If you are unsure please contact your Business Objects administrator or contact your local support representative for further information.


Reporter Bloke :uk: (BOB member since 2004-05-20)

We have the same issue. Do you have any information from BO?
regards,


BOloom (BOB member since 2007-02-27)

Most recent info I have is that the calendar issue will be fixed in XIR2 …SP4 so it will be a while.


Reporter Bloke :uk: (BOB member since 2004-05-20)

Does anyone know the ADAPT number for this bug ?

We might be experiencing this same issue with SP3+FP3.5.


rahul :singapore: (BOB member since 2005-05-25)