Placing CR ahead of LF gives the carriage time to get again to the opposite facet. At times Despite having CRLF you would need to deliver NULs to give it much more time. This is is some code I just wrote to take care of the day formatting for https://residentialpropertygurugram.design.blog/2025/06/16/where-modern-life-finds-its-perfect-balance-ameya-sapphire-93/