AJChapman / formatting

Format strings type-safely with combinators
BSD 3-Clause "New" or "Revised" License
164 stars 39 forks source link

Add "diffComponents" #50

Closed nikita-volkov closed 5 years ago

chrisdone commented 6 years ago

The code looks fine.

Is this a common format, to include the days like that? I'm fine with merging, just seems a bit arbitrary.

nikita-volkov commented 6 years ago

Can't speak for how common it is. I find it very useful for logging in long-running processes instead of printing the current timestamp. I get to immediately see how long the program has been running when an event occurred and days are important not to exclude in that case.

chrisdone commented 5 years ago

I'll merge - it doesn't take up a valuable namespace, and it's small.