Closed theolivenbaum closed 4 years ago
I believe this limitation comes from ZString.Utf8Format, specifically the StandardFormat.Parse function:
var writeFormat = StandardFormat.Parse(indexParse.FormatString); // exception here
Yes, it is StandardFormat's limitation. I already requested to dotnet/runtime. https://github.com/dotnet/runtime/issues/28942
I'm hoping to improve it too, so please Up Vote.
Thanks @neuecc, will follow the issue there - meanwhile the [{1}:{2}:{3}] works fine for now, so feel free to close this issue if you want!
@theolivenbaum
it doesn't add the leading 0 on the numbers:
StandardFormatter supports precision and it can use like {0:D2}
.
I'll write to document.
Hi @neuecc , awesome work on the library!
Just posting this here as something I noticed that is missing on the library... It seems like the formatter doesn't support DateTime formatting, like this for the PrefixFormatter:
This works for now of course, but it doesn't add the leading 0 on the numbers: