Hi Sebi,

I think following will help you for change date formate.

<#assign date =
Static["java.text.DateFormat"].getDateInstance(Static["java.text.DateFormat"].LONG,
locale).format((date)!) />


On Fri, Feb 26, 2010 at 9:12 PM, Patrick <[email protected]>wrote:

> Hi Sebi,
> I'm formatting my dates with code like this
> description="${bsh:openDate.tostring().substring(5,7)}"
>
> Maybe you will find it helpful.  Good luck
> patrick
>
> On Fri, Feb 26, 2010 at 1:31 AM, Sebi <[email protected]> wrote:
> >
> > Hi,
> >
> > I am new at "ofbiz" and evaluating the framework.
> >
> > I wonder if it is possible for users to type in a german date-format. It
> > still looks like this:
> >
> > http://n4.nabble.com/file/n1570247/Birthdate.png
> >
> > I surely changed the preferences to locale "de_DE" - I also started the
> > ofBiz-server under a german locale.
> >
> > The (label-)output of date/times is often not formattet:
> >
> > http://n4.nabble.com/file/n1570247/updated.png
> >
> > what can be done by
> >
> >    ${partyContactMech.fromDate?date?string.short}
> >
> > insted of
> >
> >    ${partyContactMech.fromDate}
> >
> > But I found no way to manage dates in inputfields in a similar way.
> >
> > Thank you for your help, I hope my english is ok so far...
> > Sebi
> > --
> > View this message in context:
> http://n4.nabble.com/Support-of-german-locale-tp1570247p1570247.html
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
> >
>



-- 
Thanks
Brajesh Patel

HotWax Media
http://www.hotwaxmedia.com

Reply via email to