Dear all,
I have a requirement to change the default date format of ofbiz to dd-mm-yyyy in entire application. So, could any one explain me the way to do this task. Thanks, Naveen Chanda |
Could any one modifies the date.
If it done, please help me to do. Thanks, Naveen
|
If it is FTL, this will be helpful
${partyContactMech.fromDate?string("dd-MM-yyyy hh:mm:ss")} With regards, S K Pradeep kumar, On Thu, Oct 8, 2009 at 10:03 AM, naveen chanda <[hidden email]> wrote: > > Could any one modifies the date. > > If it done, please help me to do. > > > Thanks, > Naveen > > > naveen chanda wrote: > > > > Dear all, > > > > I have a requirement to change the default date format of ofbiz to > > dd-mm-yyyy in entire application. > > > > So, could any one explain me the way to do this task. > > > > Thanks, > > Naveen Chanda > > > > -- > View this message in context: > http://www.nabble.com/Date-format-changing-to-dd-mm-yyyy-tp25745093p25798210.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
In reply to this post by naveenchanda
Dear Pradeep,
Thank you very much. But, when it is the forms, than how can i proceed it. When we select the calendar, i have changed the format to display but when i use the update, the format is changing to yyyy-mm-dd. How can it be done ? Is OFBiz provides any settings for date ? So, that modification in one place can effect the entire application. Please help me. Thanks and Regards, Naveen
|
Administrator
|
This does not exist yet OOTB. Though I think I remember Adrian began some effort around.
Not quite sure, you may may have a look using MarkMail or Nabble. Jacques From: "naveen chanda" <[hidden email]> > > Dear Pradeep, > > Thank you very much. > > But, when it is the forms, than how can i proceed it. > > When we select the calendar, i have changed the format to display but when i > use the update, the format is changing to yyyy-mm-dd. > > How can it be done ? > > Is OFBiz provides any settings for date ? So, that modification in one place > can effect the entire application. > > Please help me. > > Thanks and Regards, > Naveen > > > > > naveen chanda wrote: >> >> Dear all, >> >> I have a requirement to change the default date format of ofbiz to >> dd-mm-yyyy in entire application. >> >> So, could any one explain me the way to do this task. >> >> Thanks, >> Naveen Chanda >> > > -- > View this message in context: http://www.nabble.com/Date-format-changing-to-dd-mm-yyyy-tp25745093p25799185.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by naveenchanda
To change the form date format you can edit HtmlFormRenderer.java (use
UtilDateTime.java) and for update problem you can use javascript in onload event to edit. For With regards, S K Pradeep kumar, On Thu, Oct 8, 2009 at 12:12 PM, naveen chanda <[hidden email]> wrote: > > Dear Pradeep, > > Thank you very much. > > But, when it is the forms, than how can i proceed it. > > When we select the calendar, i have changed the format to display but when > i > use the update, the format is changing to yyyy-mm-dd. > > How can it be done ? > > Is OFBiz provides any settings for date ? So, that modification in one > place > can effect the entire application. > > Please help me. > > Thanks and Regards, > Naveen > > > > > naveen chanda wrote: > > > > Dear all, > > > > I have a requirement to change the default date format of ofbiz to > > dd-mm-yyyy in entire application. > > > > So, could any one explain me the way to do this task. > > > > Thanks, > > Naveen Chanda > > > > -- > View this message in context: > http://www.nabble.com/Date-format-changing-to-dd-mm-yyyy-tp25745093p25799185.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
In reply to this post by Jacques Le Roux
UtilDateTime.java would need to be modified. The static date/time format
string would need to be loaded from a properties file. -Adrian Jacques Le Roux wrote: > This does not exist yet OOTB. Though I think I remember Adrian began > some effort around. Not quite sure, you may may have a look using > MarkMail or Nabble. > > Jacques > > From: "naveen chanda" <[hidden email]> >> >> Dear Pradeep, >> >> Thank you very much. >> >> But, when it is the forms, than how can i proceed it. >> >> When we select the calendar, i have changed the format to display but >> when i >> use the update, the format is changing to yyyy-mm-dd. >> >> How can it be done ? >> >> Is OFBiz provides any settings for date ? So, that modification in one >> place >> can effect the entire application. >> >> Please help me. >> >> Thanks and Regards, >> Naveen >> >> >> >> >> naveen chanda wrote: >>> >>> Dear all, >>> >>> I have a requirement to change the default date format of ofbiz to >>> dd-mm-yyyy in entire application. >>> >>> So, could any one explain me the way to do this task. >>> >>> Thanks, >>> Naveen Chanda >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Date-format-changing-to-dd-mm-yyyy-tp25745093p25799185.html >> >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> > > |
|
Free forum by Nabble | Edit this page |