core
core copied to clipboard
Support for date formatting
Preferably using momentjs, implement date formatting: .ToString("format"). This would make it work inside string interpolation too, which is already redirected to ToString by the compiler
Is there any news here? I'm asking something related to this issue on gitter right now...
Edit
I guess the way to go is to nuget and open WebSharper.Moment
The following snippet (tested by changing chrome locale as described in this answer) should solve my issue
let now = Moment() // .Locale("it") not needed
now.Format("DD/MM/YY")