You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Marcus Fritze <ma...@googlemail.com> on 2014/02/20 14:38:09 UTC

DateTimeFormatter milliseconds not working?

Hi list,

a quick question. Is milliseconds in the DateTimeFormatter not working or is there a mistake in my code?

<s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy HH:mm:ss:SSS"/>

Here is the reference for the codes: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/globalization/DateTimeFormatter.html#setDateTimePattern()

But my milliseconds are always 000.


Thanks

Marcus

Re: DateTimeFormatter milliseconds not working?

Posted by Marcus Fritze <ma...@googlemail.com>.
Thanks for the confirmation Mark.

Ok, I file a bug at bugbase.adobe.com

Am 20.02.2014 um 16:08 schrieb Mark Line <ma...@gmail.com>:

> I get the same problem on Windows 8, Apache flex 4.11 & Flex 4.6.
> Chrome(pepper),FF(adobe),IE(adobe)
> 
> :-(
> 
> -----Original Message-----
> From: Marcus Fritze [mailto:marcus.fritze@googlemail.com] 
> Sent: 20 February 2014 14:48
> To: users@flex.apache.org
> Subject: Re: DateTimeFormatter milliseconds not working?
> 
> Yes, I understand. But the mx DateFormatter use different patterns than the
> spark DateTimeFormatter.
> 
> Maybe, someone could also test this. I am not sure if it's a bug. I am using
> here the latest FP in Firefox or Chrome on my Mac.
> 
> Thanks.
> 
> Am 20.02.2014 um 15:42 schrieb Evyatar Ben Halevi-Arbib
> <ev...@gmail.com>:
> 
>> To be completely accurate the format we use for time with milliseconds 
>> is JJ:NN:SS.QQQ
>> 
>> Evyatar
>> 
>> 
>> On Thu, Feb 20, 2014 at 4:36 PM, Marcus Fritze 
>> <marcus.fritze@googlemail.com
>>> wrote:
>> 
>>> Thanks for the advice. I tried also QQQ but this isn't also not working.
>>> 
>>> Am 20.02.2014 um 15:30 schrieb Evyatar Ben Halevi-Arbib <
>>> evyatarbh@gmail.com>:
>>> 
>>>> Try QQQ for milliseconds (that worked for me with
>>>> mx.formatters.DateFormatter)
>>>> 
>>>> Good luck,
>>>> Evyatar
>>>> 
>>>> 
>>>> On Thu, Feb 20, 2014 at 3:38 PM, Marcus Fritze <
>>> marcus.fritze@googlemail.com
>>>>> wrote:
>>>> 
>>>>> Hi list,
>>>>> 
>>>>> a quick question. Is milliseconds in the DateTimeFormatter not 
>>>>> working
>>> or
>>>>> is there a mistake in my code?
>>>>> 
>>>>> <s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy 
>>>>> HH:mm:ss:SSS"/>
>>>>> 
>>>>> Here is the reference for the codes:
>>>>> 
>>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl
>>> ash/globalization/DateTimeFormatter.html#setDateTimePattern()
>>>>> 
>>>>> But my milliseconds are always 000.
>>>>> 
>>>>> 
>>>>> Thanks
>>>>> 
>>>>> Marcus
>>>>> 
>>> 
>>> 
> 
> 


Re: DateTimeFormatter milliseconds not working?

Posted by Marcus Fritze <ma...@googlemail.com>.
Thanks Maurice. I searched the bugbase, but I couldn't find this issue.

So, I will vote. And I hope a lot more people will vote too.


Am 20.02.2014 um 16:16 schrieb Maurice Amsellem <ma...@systar.com>:

> There was a thread on this issue on Novemeber 2013 
> " Unable to format milliseconds with DateTimeFormatter"
> 
> The conclusion is that it's a bug in the FlashPlayer.
> A ticket was raised at Adobe.
> Bug reported -> https://bugbase.adobe.com/index.cfm?event=bug&id=3677553 
> 
> The current status at Adobe is "Vote for the issue so that it's fixed".
> So vote for it...
> 
> Maurice 
> 
> -----Message d'origine-----
> De : Mark Line [mailto:markline@gmail.com] 
> Envoyé : jeudi 20 février 2014 16:08
> À : users@flex.apache.org
> Objet : RE: DateTimeFormatter milliseconds not working?
> 
> I get the same problem on Windows 8, Apache flex 4.11 & Flex 4.6.
> Chrome(pepper),FF(adobe),IE(adobe)
> 
> :-(
> 
> -----Original Message-----
> From: Marcus Fritze [mailto:marcus.fritze@googlemail.com]
> Sent: 20 February 2014 14:48
> To: users@flex.apache.org
> Subject: Re: DateTimeFormatter milliseconds not working?
> 
> Yes, I understand. But the mx DateFormatter use different patterns than the spark DateTimeFormatter.
> 
> Maybe, someone could also test this. I am not sure if it's a bug. I am using here the latest FP in Firefox or Chrome on my Mac.
> 
> Thanks.
> 
> Am 20.02.2014 um 15:42 schrieb Evyatar Ben Halevi-Arbib
> <ev...@gmail.com>:
> 
>> To be completely accurate the format we use for time with milliseconds 
>> is JJ:NN:SS.QQQ
>> 
>> Evyatar
>> 
>> 
>> On Thu, Feb 20, 2014 at 4:36 PM, Marcus Fritze 
>> <marcus.fritze@googlemail.com
>>> wrote:
>> 
>>> Thanks for the advice. I tried also QQQ but this isn't also not working.
>>> 
>>> Am 20.02.2014 um 15:30 schrieb Evyatar Ben Halevi-Arbib <
>>> evyatarbh@gmail.com>:
>>> 
>>>> Try QQQ for milliseconds (that worked for me with
>>>> mx.formatters.DateFormatter)
>>>> 
>>>> Good luck,
>>>> Evyatar
>>>> 
>>>> 
>>>> On Thu, Feb 20, 2014 at 3:38 PM, Marcus Fritze <
>>> marcus.fritze@googlemail.com
>>>>> wrote:
>>>> 
>>>>> Hi list,
>>>>> 
>>>>> a quick question. Is milliseconds in the DateTimeFormatter not 
>>>>> working
>>> or
>>>>> is there a mistake in my code?
>>>>> 
>>>>> <s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy 
>>>>> HH:mm:ss:SSS"/>
>>>>> 
>>>>> Here is the reference for the codes:
>>>>> 
>>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl
>>> ash/globalization/DateTimeFormatter.html#setDateTimePattern()
>>>>> 
>>>>> But my milliseconds are always 000.
>>>>> 
>>>>> 
>>>>> Thanks
>>>>> 
>>>>> Marcus
>>>>> 
>>> 
>>> 
> 
> 


RE: DateTimeFormatter milliseconds not working?

Posted by Maurice Amsellem <ma...@systar.com>.
There was a thread on this issue on Novemeber 2013 
" Unable to format milliseconds with DateTimeFormatter"

The conclusion is that it's a bug in the FlashPlayer.
A ticket was raised at Adobe.
Bug reported -> https://bugbase.adobe.com/index.cfm?event=bug&id=3677553 

The current status at Adobe is "Vote for the issue so that it's fixed".
So vote for it...

Maurice 

-----Message d'origine-----
De : Mark Line [mailto:markline@gmail.com] 
Envoyé : jeudi 20 février 2014 16:08
À : users@flex.apache.org
Objet : RE: DateTimeFormatter milliseconds not working?

I get the same problem on Windows 8, Apache flex 4.11 & Flex 4.6.
Chrome(pepper),FF(adobe),IE(adobe)

:-(

-----Original Message-----
From: Marcus Fritze [mailto:marcus.fritze@googlemail.com]
Sent: 20 February 2014 14:48
To: users@flex.apache.org
Subject: Re: DateTimeFormatter milliseconds not working?

Yes, I understand. But the mx DateFormatter use different patterns than the spark DateTimeFormatter.

Maybe, someone could also test this. I am not sure if it's a bug. I am using here the latest FP in Firefox or Chrome on my Mac.

Thanks.

Am 20.02.2014 um 15:42 schrieb Evyatar Ben Halevi-Arbib
<ev...@gmail.com>:

> To be completely accurate the format we use for time with milliseconds 
> is JJ:NN:SS.QQQ
> 
> Evyatar
> 
> 
> On Thu, Feb 20, 2014 at 4:36 PM, Marcus Fritze 
> <marcus.fritze@googlemail.com
>> wrote:
> 
>> Thanks for the advice. I tried also QQQ but this isn't also not working.
>> 
>> Am 20.02.2014 um 15:30 schrieb Evyatar Ben Halevi-Arbib <
>> evyatarbh@gmail.com>:
>> 
>>> Try QQQ for milliseconds (that worked for me with
>>> mx.formatters.DateFormatter)
>>> 
>>> Good luck,
>>> Evyatar
>>> 
>>> 
>>> On Thu, Feb 20, 2014 at 3:38 PM, Marcus Fritze <
>> marcus.fritze@googlemail.com
>>>> wrote:
>>> 
>>>> Hi list,
>>>> 
>>>> a quick question. Is milliseconds in the DateTimeFormatter not 
>>>> working
>> or
>>>> is there a mistake in my code?
>>>> 
>>>> <s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy 
>>>> HH:mm:ss:SSS"/>
>>>> 
>>>> Here is the reference for the codes:
>>>> 
>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl
>> ash/globalization/DateTimeFormatter.html#setDateTimePattern()
>>>> 
>>>> But my milliseconds are always 000.
>>>> 
>>>> 
>>>> Thanks
>>>> 
>>>> Marcus
>>>> 
>> 
>> 



RE: DateTimeFormatter milliseconds not working?

Posted by Mark Line <ma...@gmail.com>.
I get the same problem on Windows 8, Apache flex 4.11 & Flex 4.6.
Chrome(pepper),FF(adobe),IE(adobe)

:-(

-----Original Message-----
From: Marcus Fritze [mailto:marcus.fritze@googlemail.com] 
Sent: 20 February 2014 14:48
To: users@flex.apache.org
Subject: Re: DateTimeFormatter milliseconds not working?

Yes, I understand. But the mx DateFormatter use different patterns than the
spark DateTimeFormatter.

Maybe, someone could also test this. I am not sure if it's a bug. I am using
here the latest FP in Firefox or Chrome on my Mac.

Thanks.

Am 20.02.2014 um 15:42 schrieb Evyatar Ben Halevi-Arbib
<ev...@gmail.com>:

> To be completely accurate the format we use for time with milliseconds 
> is JJ:NN:SS.QQQ
> 
> Evyatar
> 
> 
> On Thu, Feb 20, 2014 at 4:36 PM, Marcus Fritze 
> <marcus.fritze@googlemail.com
>> wrote:
> 
>> Thanks for the advice. I tried also QQQ but this isn't also not working.
>> 
>> Am 20.02.2014 um 15:30 schrieb Evyatar Ben Halevi-Arbib <
>> evyatarbh@gmail.com>:
>> 
>>> Try QQQ for milliseconds (that worked for me with
>>> mx.formatters.DateFormatter)
>>> 
>>> Good luck,
>>> Evyatar
>>> 
>>> 
>>> On Thu, Feb 20, 2014 at 3:38 PM, Marcus Fritze <
>> marcus.fritze@googlemail.com
>>>> wrote:
>>> 
>>>> Hi list,
>>>> 
>>>> a quick question. Is milliseconds in the DateTimeFormatter not 
>>>> working
>> or
>>>> is there a mistake in my code?
>>>> 
>>>> <s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy 
>>>> HH:mm:ss:SSS"/>
>>>> 
>>>> Here is the reference for the codes:
>>>> 
>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl
>> ash/globalization/DateTimeFormatter.html#setDateTimePattern()
>>>> 
>>>> But my milliseconds are always 000.
>>>> 
>>>> 
>>>> Thanks
>>>> 
>>>> Marcus
>>>> 
>> 
>> 



Re: DateTimeFormatter milliseconds not working?

Posted by Marcus Fritze <ma...@googlemail.com>.
Yes, I understand. But the mx DateFormatter use different patterns than the spark DateTimeFormatter.

Maybe, someone could also test this. I am not sure if it's a bug. I am using here the latest FP in Firefox or Chrome on my Mac.

Thanks.

Am 20.02.2014 um 15:42 schrieb Evyatar Ben Halevi-Arbib <ev...@gmail.com>:

> To be completely accurate the format we use for time with milliseconds
> is JJ:NN:SS.QQQ
> 
> Evyatar
> 
> 
> On Thu, Feb 20, 2014 at 4:36 PM, Marcus Fritze <marcus.fritze@googlemail.com
>> wrote:
> 
>> Thanks for the advice. I tried also QQQ but this isn't also not working.
>> 
>> Am 20.02.2014 um 15:30 schrieb Evyatar Ben Halevi-Arbib <
>> evyatarbh@gmail.com>:
>> 
>>> Try QQQ for milliseconds (that worked for me with
>>> mx.formatters.DateFormatter)
>>> 
>>> Good luck,
>>> Evyatar
>>> 
>>> 
>>> On Thu, Feb 20, 2014 at 3:38 PM, Marcus Fritze <
>> marcus.fritze@googlemail.com
>>>> wrote:
>>> 
>>>> Hi list,
>>>> 
>>>> a quick question. Is milliseconds in the DateTimeFormatter not working
>> or
>>>> is there a mistake in my code?
>>>> 
>>>> <s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy
>>>> HH:mm:ss:SSS"/>
>>>> 
>>>> Here is the reference for the codes:
>>>> 
>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/globalization/DateTimeFormatter.html#setDateTimePattern()
>>>> 
>>>> But my milliseconds are always 000.
>>>> 
>>>> 
>>>> Thanks
>>>> 
>>>> Marcus
>>>> 
>> 
>> 


Re: DateTimeFormatter milliseconds not working?

Posted by Evyatar Ben Halevi-Arbib <ev...@gmail.com>.
To be completely accurate the format we use for time with milliseconds
is JJ:NN:SS.QQQ

Evyatar


On Thu, Feb 20, 2014 at 4:36 PM, Marcus Fritze <marcus.fritze@googlemail.com
> wrote:

> Thanks for the advice. I tried also QQQ but this isn't also not working.
>
> Am 20.02.2014 um 15:30 schrieb Evyatar Ben Halevi-Arbib <
> evyatarbh@gmail.com>:
>
> > Try QQQ for milliseconds (that worked for me with
> > mx.formatters.DateFormatter)
> >
> > Good luck,
> > Evyatar
> >
> >
> > On Thu, Feb 20, 2014 at 3:38 PM, Marcus Fritze <
> marcus.fritze@googlemail.com
> >> wrote:
> >
> >> Hi list,
> >>
> >> a quick question. Is milliseconds in the DateTimeFormatter not working
> or
> >> is there a mistake in my code?
> >>
> >> <s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy
> >> HH:mm:ss:SSS"/>
> >>
> >> Here is the reference for the codes:
> >>
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/globalization/DateTimeFormatter.html#setDateTimePattern()
> >>
> >> But my milliseconds are always 000.
> >>
> >>
> >> Thanks
> >>
> >> Marcus
> >>
>
>

Re: DateTimeFormatter milliseconds not working?

Posted by Marcus Fritze <ma...@googlemail.com>.
Thanks for the advice. I tried also QQQ but this isn't also not working.

Am 20.02.2014 um 15:30 schrieb Evyatar Ben Halevi-Arbib <ev...@gmail.com>:

> Try QQQ for milliseconds (that worked for me with
> mx.formatters.DateFormatter)
> 
> Good luck,
> Evyatar
> 
> 
> On Thu, Feb 20, 2014 at 3:38 PM, Marcus Fritze <marcus.fritze@googlemail.com
>> wrote:
> 
>> Hi list,
>> 
>> a quick question. Is milliseconds in the DateTimeFormatter not working or
>> is there a mistake in my code?
>> 
>> <s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy
>> HH:mm:ss:SSS"/>
>> 
>> Here is the reference for the codes:
>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/globalization/DateTimeFormatter.html#setDateTimePattern()
>> 
>> But my milliseconds are always 000.
>> 
>> 
>> Thanks
>> 
>> Marcus
>> 


Re: DateTimeFormatter milliseconds not working?

Posted by Evyatar Ben Halevi-Arbib <ev...@gmail.com>.
Try QQQ for milliseconds (that worked for me with
mx.formatters.DateFormatter)

Good luck,
Evyatar


On Thu, Feb 20, 2014 at 3:38 PM, Marcus Fritze <marcus.fritze@googlemail.com
> wrote:

> Hi list,
>
> a quick question. Is milliseconds in the DateTimeFormatter not working or
> is there a mistake in my code?
>
> <s:DateTimeFormatter id="formatter" dateTimePattern="dd.MM.yyyy
> HH:mm:ss:SSS"/>
>
> Here is the reference for the codes:
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/globalization/DateTimeFormatter.html#setDateTimePattern()
>
> But my milliseconds are always 000.
>
>
> Thanks
>
> Marcus
>