xPages view, problem with date format and sorted columns

I have two issues with a view.

One is the date format that shows in the client. If I change the date to short date, the client always displays american style dates (mm/dd/yyyy), although in the browser it displays as it should (dd/mm/yyy for British).

Also, the sorting in a (text) column isn’t working very well. The up/down arrow displays as it should but sometimes you need to click it twice for it to do anything, and the arrows never change so you know you have it sorted

EDIT: Ignore the comment about clicking twice, this isn’t an issue, although should the arrows change still?

Anyone have any idea why these things are wrong?

Cheers

Dan

Subject: Formatting Dates

I’ve note tried to format dates yet. But Julian Buss has on artilce on this at xpageswiki.com.

The link is:

http://xpageswiki.com/web/youatnotes/wiki-xpages.nsf/dx/Work_with_Dates

Maybe that will help?

Subject: I’ve experienced the same problem with date/time formats

Hi Dan,When I use the short-date style on an XPage, I get the following results with my Windows Regional Short-Date style set to yyyy.MM.dd:

Editable date/time field

Read-only date/time field

Computed field

In Lotus Notes client

(non-XPage):

yyyy.mm.dd

yyyy.mm.dd

yyyy.mm.dd

In Firefox:

mm/dd/yyyy

mm/dd/yy

mm/dd/yy

In Internet Explorer:

yyyy-mm-dd

yy-mm-dd

yy-mm-dd

It seems that neither browser respects my pc settings. I don’t think I faced this when I just web-ified a Notes form.

My work-around was to use a Custom Style forcing a U.S. Date Format of MM/dd/yyyy which is not ideal but my clients are all Americans.

I wonder if it has something to do with how IBM has implemented the date/time formats in the dojo toolkit.