PDA

View Full Version : Changing column date format form m/d/y to d/m/y


gkarl
07-03-2007, 11:09 PM
Changing column date format form m/d/y to d/m/y

I have as notes view column that I wish to display the date on the web as d/m/y and not as the US date format of m/d/y.

I have modified the UIView.js file changed any occurrence of
d.dateFormat("m/d/Y") : ''; to d.dateFormat("d/m/Y") : '';

Is this the only place where I need to define the column date format within the domino Ext framework?

RWaters
07-06-2007, 03:03 PM
I believe that is the only place you should need to change it. I'm looking to break out the renderer's and make it easier to put in those sort of overrides for the next version.

jratcliff
07-08-2007, 11:11 AM
Domino doesn't help us here with date formatting in a view. /db/view?ReadDesign won't tell you if the developer has set a custom date format and neither will doing a DxlExport of the view.

The best solution for now will be to make the change you identified and in an upcoming release Rich will change the code to make it easier to 'override' the custom renderer for a date column (and any column in fact).

By the way, we have talked to IBM about how they can improve things on the server-side so I'll make sure to bring up this issue as well.

~JR