Missing microseconds support in date-time picker

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

Missing microseconds support in date-time picker

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

Re: Missing microseconds support in date-time picker

Pierre Smits-3
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 <[hidden email]>
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
>
Reply | Threaded
Open this post in threaded view
|

Re: Missing microseconds support in date-time picker

Jacques Le Roux
Administrator
In reply to this post by Pawan Verma
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

Reply | Threaded
Open this post in threaded view
|

Re: Missing microseconds support in date-time picker

Deepak Dixit-4
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: [hidden email]
*www.hotwax.co <http://www.hotwax.co/>*


On Sat, May 25, 2019 at 7:09 PM Jacques Le Roux <
[hidden email]> 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
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Missing microseconds support in date-time picker

Aditya Sharma
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 <[hidden email]>
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: [hidden email]
> *www.hotwax.co <http://www.hotwax.co/>*
>
>
> On Sat, May 25, 2019 at 7:09 PM Jacques Le Roux <
> [hidden email]> 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
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Missing microseconds support in date-time picker

Jacques Le Roux
Administrator
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 <[hidden email]>
> 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: [hidden email]
>> *www.hotwax.co <http://www.hotwax.co/>*
>>
>>
>> On Sat, May 25, 2019 at 7:09 PM Jacques Le Roux <
>> [hidden email]> 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
>>>
>>>
Reply | Threaded
Open this post in threaded view
|

Re: Missing microseconds support in date-time picker

Pierre Smits-3
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 <
[hidden email]> 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 <[hidden email]>
> > 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: [hidden email]
> >> *www.hotwax.co <http://www.hotwax.co/>*
> >>
> >>
> >> On Sat, May 25, 2019 at 7:09 PM Jacques Le Roux <
> >> [hidden email]> 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
> >>>
> >>>
>