Date format changing to dd-mm-yyyy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Date format changing to dd-mm-yyyy

naveenchanda
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
Reply | Threaded
Open this post in threaded view
|

Re: Date format changing to dd-mm-yyyy

naveenchanda
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
Reply | Threaded
Open this post in threaded view
|

Re: Date format changing to dd-mm-yyyy

S K Pradeep kumar
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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Date format changing to dd-mm-yyyy

naveenchanda
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



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
Reply | Threaded
Open this post in threaded view
|

Re: Date format changing to dd-mm-yyyy

Jacques Le Roux
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.
>

Reply | Threaded
Open this post in threaded view
|

Re: Date format changing to dd-mm-yyyy

S K Pradeep kumar
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.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Date format changing to dd-mm-yyyy

Adrian Crum
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.
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Date format changing to dd-mm-yyyy

Ananth

Adrian Crum wrote
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" <chanda15@gmail.com>
>>
>> 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.
>>
>
>
 Hello Adrian,

I changed Date format in UtilDateTime.java "yyyy-MM-dd" to "dd-MM-yyyy". It was effected in forms after that I again  changed date format in UtilDateTime.java  "dd-MM-yyyy" to "yyyy-MM-dd" but it is not effecting in forms. Can you help me on this?

Regards
Ananth