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 was unit testing to ensure that all our needs could be supported with this library, but I was finding that support for formatting dates with milliseconds or timezone offsets did not work as it does in c#.
For example, I had the following unit test code:;
let x = new Date();
console.log(String.format("{0:MM/dd/yyyy hh:mm:ss.fffzzz tt}", x));
console.log(x.format("MM/dd/yyyy hh:mm:ss.fffzzz tt"))
console.log(String.format("{0:MMM zzz}", x));
And for each message displayed, the "zzz" or "fff" was displayed, not the date component.
Is there something syntactically that I am doing wrong?
Thanks
The text was updated successfully, but these errors were encountered:
I was unit testing to ensure that all our needs could be supported with this library, but I was finding that support for formatting dates with milliseconds or timezone offsets did not work as it does in c#.
For example, I had the following unit test code:;
let x = new Date();
console.log(String.format("{0:MM/dd/yyyy hh:mm:ss.fffzzz tt}", x));
console.log(x.format("MM/dd/yyyy hh:mm:ss.fffzzz tt"))
console.log(String.format("{0:MMM zzz}", x));
And for each message displayed, the "zzz" or "fff" was displayed, not the date component.
Is there something syntactically that I am doing wrong?
Thanks
The text was updated successfully, but these errors were encountered: