How can I format date HTML Client
-
Monday, August 27, 2012 7:25 PM
Hello Everyone !
I'm trying to test VS 2012 LightSwitch HTML Client, and it works fine !
I'm a beginner in javascript... so it's hard for first steps.
Anyone can help me format date, please ?
PS: I tried to configure property 'Format Pattern' on DataSource, but it isn't working !
Thanks a lot !
Teobaldo
Brazil
All Replies
-
Monday, August 27, 2012 8:26 PM
hi,
with the vhd comes a tutorial where you can read how to format date with moment.js.
moment.js can be downloaded as a Nudget package. In the tutorial you get help with this, step by step.
If you get stuck I will help you.
Good luck
Sven
SE1969
- Proposed As Answer by Beth MassiMicrosoft Employee, Owner Monday, August 27, 2012 9:53 PM
-
Monday, August 27, 2012 10:30 PM
Thanks for answer !
I found the example on tutorial and built the method render for custom control.
Thanks !
Teobaldo

