Just trying to format a Date (or any field for that matter) in LightSwitch HTML Client Preview 2.
I have tried this 'Format Pattern' field:
But it always seems to be ignored:
I have tried a lot of different types of fields including Text, Paragraph, Custom Control, TextBox - all ignore my Format Pattern.
I have also tried creating a 'Computed Field' on the table, but it seems the Views (screens) do not get exposure to computed fields, and I cannot display them.
I found a solution where someone created 'custom' javascript binding and set the values based on binding events, but that sounds a little 'hacked up' to me. Is there a more standard way in lightswitch to accomplish formatting?
Edit: Link here.