You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Pawan Verma <pa...@hotwaxsystems.com> on 2019/05/25 12:22:35 UTC
Missing microseconds support in date-time picker
Hello Devs,
While working on OFBIZ-11022, I have found that current date-time picker
does not have support for microseconds.
In existing demo data for WebSitePathAlias, we have microseconds in it. But
on Edit webSitePathAlias screen date-time picker does not pass microseconds
and due to this system can not find the exact record for update.
Should we add support in date-time picker for microseconds or remove it
from demo data?
Suggestions and thoughts are welcome. Thanks!
--
Thanks & Regards
Pawan Verma
Technical Consultant
*HotWax Systems*
*Enterprise open source experts*
http://www.hotwaxsystems.com
Re: Missing microseconds support in date-time picker
Posted by Pierre Smits <pi...@apache.org>.
IMO microseconds for something like demo data for fairly static (from a
second viewpoint) records is overkill.
Best regards,
Pierre Smits
*Apache Trafodion <https://trafodion.apache.org>, Vice President*
*Apache Directory <https://directory.apache.org>, PMC Member*
Apache Incubator <https://incubator.apache.org>, committer
*Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges)
since 2008*
Apache Steve <https://steve.apache.org>, committer
On Sat, May 25, 2019 at 3:18 PM Pawan Verma <pa...@hotwaxsystems.com>
wrote:
> Hello Devs,
>
> While working on OFBIZ-11022, I have found that current date-time picker
> does not have support for microseconds.
> In existing demo data for WebSitePathAlias, we have microseconds in it. But
> on Edit webSitePathAlias screen date-time picker does not pass microseconds
> and due to this system can not find the exact record for update.
>
> Should we add support in date-time picker for microseconds or remove it
> from demo data?
>
> Suggestions and thoughts are welcome. Thanks!
> --
> Thanks & Regards
> Pawan Verma
> Technical Consultant
> *HotWax Systems*
> *Enterprise open source experts*
> http://www.hotwaxsystems.com
>
Re: Missing microseconds support in date-time picker
Posted by Pierre Smits <pi...@apache.org>.
I wonder which entities would benefit from having the ability to register
microseconds.
Best regards,
Pierre Smits
*Apache Trafodion <https://trafodion.apache.org>, Vice President*
*Apache Directory <https://directory.apache.org>, PMC Member*
Apache Incubator <https://incubator.apache.org>, committer
*Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges)
since 2008*
Apache Steve <https://steve.apache.org>, committer
On Mon, May 27, 2019 at 11:04 AM Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> OK then
>
> Jacques
>
> Le 27/05/2019 à 09:15, Aditya Sharma a écrit :
> > Indeed. I have already started working on OFBIZ-10782 but if the
> community
> > decides we can include that with the current work.
> >
> > 1. https://issues.apache.org/jira/browse/OFBIZ-10782
> >
> > Thanks and regards,
> > Aditya Sharma
> > Enterprise Software Engineer
> > *HotWax Systems*
> > *Enterprise open source experts*
> > office: 0731-409-3684
> > http://www.hotwaxsystems.com
> >
> >
> >
> >
> > On Mon, May 27, 2019 at 12:34 PM Deepak Dixit <de...@hotwax.co>
> > wrote:
> >
> >> I'd like to add support in date-time picker for microseconds, As it's
> >> possible that data generated at runtime may contain microseconds.
> >> Removing microsecond from the demo is not a proper solution.
> >> As per current implementation, we are using Date.parseExact in
> >> OfbizUtil.js, and Date.parse does not support the microseconds. We can
> use
> >> the moment js to format date in the proper format.
> >>
> >>
> >> Kind Regards,
> >> Deepak Dixit
> >> DIRECTOR OF PRODUCT ENGINEERING
> >> mobile: +91 9826754548
> >> email: deepak.dixit@hotwax.co
> >> *www.hotwax.co <http://www.hotwax.co/>*
> >>
> >>
> >> On Sat, May 25, 2019 at 7:09 PM Jacques Le Roux <
> >> jacques.le.roux@les7arts.com> wrote:
> >>
> >>> Le 25/05/2019 à 14:22, Pawan Verma a écrit :
> >>>> Hello Devs,
> >>>>
> >>>> While working on OFBIZ-11022, I have found that current date-time
> >> picker
> >>>> does not have support for microseconds.
> >>>> In existing demo data for WebSitePathAlias, we have microseconds in
> it.
> >>> But
> >>>> on Edit webSitePathAlias screen date-time picker does not pass
> >>> microseconds
> >>>> and due to this system can not find the exact record for update.
> >>>>
> >>>> Should we add support in date-time picker for microseconds or remove
> it
> >>>> from demo data?
> >>>>
> >>>> Suggestions and thoughts are welcome. Thanks!
> >>> Hi Pawan,
> >>>
> >>> I'd be more inclined to remove microseconds from demo data
> >>>
> >>> Thanks
> >>>
> >>> Jacques
> >>>
> >>>
>
Re: Missing microseconds support in date-time picker
Posted by Jacques Le Roux <ja...@les7arts.com>.
OK then
Jacques
Le 27/05/2019 à 09:15, Aditya Sharma a écrit :
> Indeed. I have already started working on OFBIZ-10782 but if the community
> decides we can include that with the current work.
>
> 1. https://issues.apache.org/jira/browse/OFBIZ-10782
>
> Thanks and regards,
> Aditya Sharma
> Enterprise Software Engineer
> *HotWax Systems*
> *Enterprise open source experts*
> office: 0731-409-3684
> http://www.hotwaxsystems.com
>
>
>
>
> On Mon, May 27, 2019 at 12:34 PM Deepak Dixit <de...@hotwax.co>
> wrote:
>
>> I'd like to add support in date-time picker for microseconds, As it's
>> possible that data generated at runtime may contain microseconds.
>> Removing microsecond from the demo is not a proper solution.
>> As per current implementation, we are using Date.parseExact in
>> OfbizUtil.js, and Date.parse does not support the microseconds. We can use
>> the moment js to format date in the proper format.
>>
>>
>> Kind Regards,
>> Deepak Dixit
>> DIRECTOR OF PRODUCT ENGINEERING
>> mobile: +91 9826754548
>> email: deepak.dixit@hotwax.co
>> *www.hotwax.co <http://www.hotwax.co/>*
>>
>>
>> On Sat, May 25, 2019 at 7:09 PM Jacques Le Roux <
>> jacques.le.roux@les7arts.com> wrote:
>>
>>> Le 25/05/2019 à 14:22, Pawan Verma a écrit :
>>>> Hello Devs,
>>>>
>>>> While working on OFBIZ-11022, I have found that current date-time
>> picker
>>>> does not have support for microseconds.
>>>> In existing demo data for WebSitePathAlias, we have microseconds in it.
>>> But
>>>> on Edit webSitePathAlias screen date-time picker does not pass
>>> microseconds
>>>> and due to this system can not find the exact record for update.
>>>>
>>>> Should we add support in date-time picker for microseconds or remove it
>>>> from demo data?
>>>>
>>>> Suggestions and thoughts are welcome. Thanks!
>>> Hi Pawan,
>>>
>>> I'd be more inclined to remove microseconds from demo data
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>>
Re: Missing microseconds support in date-time picker
Posted by Aditya Sharma <ad...@hotwaxsystems.com>.
Indeed. I have already started working on OFBIZ-10782 but if the community
decides we can include that with the current work.
1. https://issues.apache.org/jira/browse/OFBIZ-10782
Thanks and regards,
Aditya Sharma
Enterprise Software Engineer
*HotWax Systems*
*Enterprise open source experts*
office: 0731-409-3684
http://www.hotwaxsystems.com
On Mon, May 27, 2019 at 12:34 PM Deepak Dixit <de...@hotwax.co>
wrote:
> I'd like to add support in date-time picker for microseconds, As it's
> possible that data generated at runtime may contain microseconds.
> Removing microsecond from the demo is not a proper solution.
> As per current implementation, we are using Date.parseExact in
> OfbizUtil.js, and Date.parse does not support the microseconds. We can use
> the moment js to format date in the proper format.
>
>
> Kind Regards,
> Deepak Dixit
> DIRECTOR OF PRODUCT ENGINEERING
> mobile: +91 9826754548
> email: deepak.dixit@hotwax.co
> *www.hotwax.co <http://www.hotwax.co/>*
>
>
> On Sat, May 25, 2019 at 7:09 PM Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
> > Le 25/05/2019 à 14:22, Pawan Verma a écrit :
> > > Hello Devs,
> > >
> > > While working on OFBIZ-11022, I have found that current date-time
> picker
> > > does not have support for microseconds.
> > > In existing demo data for WebSitePathAlias, we have microseconds in it.
> > But
> > > on Edit webSitePathAlias screen date-time picker does not pass
> > microseconds
> > > and due to this system can not find the exact record for update.
> > >
> > > Should we add support in date-time picker for microseconds or remove it
> > > from demo data?
> > >
> > > Suggestions and thoughts are welcome. Thanks!
> >
> > Hi Pawan,
> >
> > I'd be more inclined to remove microseconds from demo data
> >
> > Thanks
> >
> > Jacques
> >
> >
>
Re: Missing microseconds support in date-time picker
Posted by Deepak Dixit <de...@hotwax.co>.
I'd like to add support in date-time picker for microseconds, As it's
possible that data generated at runtime may contain microseconds.
Removing microsecond from the demo is not a proper solution.
As per current implementation, we are using Date.parseExact in
OfbizUtil.js, and Date.parse does not support the microseconds. We can use
the moment js to format date in the proper format.
Kind Regards,
Deepak Dixit
DIRECTOR OF PRODUCT ENGINEERING
mobile: +91 9826754548
email: deepak.dixit@hotwax.co
*www.hotwax.co <http://www.hotwax.co/>*
On Sat, May 25, 2019 at 7:09 PM Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> Le 25/05/2019 à 14:22, Pawan Verma a écrit :
> > Hello Devs,
> >
> > While working on OFBIZ-11022, I have found that current date-time picker
> > does not have support for microseconds.
> > In existing demo data for WebSitePathAlias, we have microseconds in it.
> But
> > on Edit webSitePathAlias screen date-time picker does not pass
> microseconds
> > and due to this system can not find the exact record for update.
> >
> > Should we add support in date-time picker for microseconds or remove it
> > from demo data?
> >
> > Suggestions and thoughts are welcome. Thanks!
>
> Hi Pawan,
>
> I'd be more inclined to remove microseconds from demo data
>
> Thanks
>
> Jacques
>
>
Re: Missing microseconds support in date-time picker
Posted by Jacques Le Roux <ja...@les7arts.com>.
Le 25/05/2019 à 14:22, Pawan Verma a écrit :
> Hello Devs,
>
> While working on OFBIZ-11022, I have found that current date-time picker
> does not have support for microseconds.
> In existing demo data for WebSitePathAlias, we have microseconds in it. But
> on Edit webSitePathAlias screen date-time picker does not pass microseconds
> and due to this system can not find the exact record for update.
>
> Should we add support in date-time picker for microseconds or remove it
> from demo data?
>
> Suggestions and thoughts are welcome. Thanks!
Hi Pawan,
I'd be more inclined to remove microseconds from demo data
Thanks
Jacques