You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself needing this when referencing a Date object. I'd love to be able to get the result of ToShortDateString(). In order to use this for my intended purpose, I need to create a whole new custom object to represent all my values in the template, as opposed to using the objects I already have available.
Thoughts?
The text was updated successfully, but these errors were encountered:
Placeholders accept format flags, the same as String.Format. I think
ToShortDateString() is the same as the "d" standard format, eg,
ToString("d") or {key:d} in mustache #.
I find myself needing this when referencing a Date object. I'd love to be
able to get the result of ToShortDateString(). In order to use this for my
intended purpose, I need to create a whole new custom object to represent
all my values in the template, as opposed to using the objects I already
have available.
I find myself needing this when referencing a Date object. I'd love to be able to get the result of ToShortDateString(). In order to use this for my intended purpose, I need to create a whole new custom object to represent all my values in the template, as opposed to using the objects I already have available.
Thoughts?
The text was updated successfully, but these errors were encountered: