Thanks Gavin, Hans. Let me check. On Sat, Jan 17, 2015 at 5:09 PM, Gavin Mabie <kwikst...@gmail.com> wrote:
> Hi Mandar > > Have a look at the renderDateTimeField > in /framework/widget/templates/htmlFormMacroLibrary.ftl. Modifying this > macro should give you the ability to set the display format for date-times, > at least for those defined in xml form widgets. It will not deal with > date/time displays in ftl files. You might have to modify each ftl file or > handle all ftls through a javascript manipulation. > > Gavin > > On Sat, Jan 17, 2015 at 11:32 AM, Mandar K <mankul...@gmail.com> wrote: > > > Hello Hans, > > > > Thanks for your input. > > As per that, I changed the locale to en_UK in start.properties, and > rebuild > > the project also, but this didnt change date format. > > After that I tried changing the locale to de and fr also, but neither of > > them worked. > > > > Kindly guide on what is missing. > > > > Thanks, > > Mandar > > > > On Fri, Jan 16, 2015 at 3:12 PM, Hans Bakker < > > mailingl...@antwebsystems.com> > > wrote: > > > > > Hi Mandar, > > > > > > date format is part of the java locale and be set in OFBiz, changing > the > > > language. > > > > > > more info when you enter: java locale date format > > > > > > in your preferred search engine > > > > > > Regards, > > > Hans > > > > > > AntWebsystems.com , provider for any size, yes also larger companies > > > > > > > > > On 16/01/15 15:25, Mandar K wrote: > > > > > >> Hello Hans, > > >> > > >> To what should I Change the java locale and in which file? > > >> > > >> Thanks, > > >> Mandar > > >> > > >> > > >> On Fri, Jan 16, 2015 at 1:37 PM, Hans Bakker < > > >> mailingl...@antwebsystems.com> > > >> wrote: > > >> > > >> how about changing the java locale? > > >>> > > >>> > > >>> On 16/01/15 10:37, Mandar K wrote: > > >>> > > >>> Hello, > > >>>> > > >>>> All over Ofbiz I want to change the Date format to be displayed as > > >>>> dd-mm-yyyy. > > >>>> > > >>>> I Changed the format in UtilDateTime.java file but still values are > > >>>> displayed as mm-dd-yyyy only. > > >>>> > > >>>> Any inputs over this would be of great help. > > >>>> > > >>>> Thanks, > > >>>> Mandar > > >>>> > > >>>> > > >>>> > > > > > >