I am able to format date in moment.js with this pattern:
MMMM Do YYYY, h:mm:ss a
And it will return:
January 1st 0001, 12:00:24 am
However, doing the same with C# DateTimeOffset will return:
date.ToString("MMMM Do YYYY, h:mm:ss a")
> January Do YYYY, 12:00:00 a
I am wondering how do I achieve the same output?