You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Piotr Zarzycki <pi...@gmail.com> on 2019/07/18 10:15:36 UTC
How DateAndTimeFormatter work ?
Hi Guys,
I was trying to use DateAndTimeFormatter class. If I correctly understand
this class is addition to SimpleDateFormatter. If I have - I should be able
to format date with time ?
<j:beads>
<js:SimpleDateFormatter />
<js:DateAndTimeFormatter localId="dateFormatter"/>
</j:beads>
If feel like we should get in this line [1] bead formatter from _strand.
[1]
https://github.com/apache/royale-asjs/blob/c917d28cbc7057f46a38ffc6b1aa02465ea2b139/frameworks/projects/Formatters/src/main/royale/org/apache/royale/html/accessories/DateAndTimeFormatter.as#L65
Thanks,
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
RE: How DateAndTimeFormatter work ?
Posted by Yishay Weiss <yi...@hotmail.com>.
Hi Piotr,
Maybe this example [1] helps. It was experimental so I suggest you take a look and decide whether it can be used for your purposes, refined, or removed. To the best of my knowledge it’s not used in our app.
[1] https://github.com/yishayw/Examples/tree/DateField
________________________________
From: Piotr Zarzycki <pi...@gmail.com>
Sent: Thursday, July 18, 2019 1:15:36 PM
To: dev@royale.apache.org
Subject: How DateAndTimeFormatter work ?
Hi Guys,
I was trying to use DateAndTimeFormatter class. If I correctly understand
this class is addition to SimpleDateFormatter. If I have - I should be able
to format date with time ?
<j:beads>
<js:SimpleDateFormatter />
<js:DateAndTimeFormatter localId="dateFormatter"/>
</j:beads>
If feel like we should get in this line [1] bead formatter from _strand.
[1]
https://github.com/apache/royale-asjs/blob/c917d28cbc7057f46a38ffc6b1aa02465ea2b139/frameworks/projects/Formatters/src/main/royale/org/apache/royale/html/accessories/DateAndTimeFormatter.as#L65
Thanks,
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*