In one of my client’s apps, we centralized date formats in an enum to...


In one of my client’s apps, we centralized date formats in an enum to encourage consistency.

But over time, we ended up with this huge list!

That said, the enum was still valuable:
1. It drew attention to the problem: too many variations. We're still being inconsistent.

2. We can use find by reference to locate existing date usages and reduce the number of variations.

View original on X