Fluent.Net icon indicating copy to clipboard operation
Fluent.Net copied to clipboard

Dates don't format according to expected output

Open khalidabuhakmeh opened this issue 3 years ago • 0 comments

I'm trying to format the current string.

today-is = Today is { DATETIME($date, month: "long", year: "numeric", day: "numeric") }

The expected result should be Today is ⁨November 4, 2022⁩ (See the Fluent Playground).

Instead, in a .NET app, I keep getting the ToString format in my output.

Today is 11/4/2022 12:00:00 AM

khalidabuhakmeh avatar Nov 04 '22 14:11 khalidabuhakmeh