DateLayoutRenderer default Format should be culture invariant
Author: snakefootCreated Jul 11, 2026Updated Aug 18, 2026
Labelsbreaking changebreaking behavior change
Little weird that DateLayoutRenderer has the default Format:
yyyy/MM/dd HH:mm:ss.fff
Why not follow the default-format found every where else in NLog:
yyyy-MM-dd HH:mm:ss.ffff
Interesting that ${date} "originally" was born with default Format = G, that would follow the local culture. Then later hard-coded to one culture with explicit Format-string (with ffff). Think that Logging library should stay culture invariant unless requested otherwise.
Also $[processtime} should match the following format (Instead of fff):
HH:mm:ss.ffff
Source: NLog/NLog