fsfe / reuse-tool

reuse is a tool for compliance with the REUSE recommendations.
https://reuse.software
399 stars 148 forks source link

Consider removing spaces in date range expressions #915

Open BigBlueHat opened 8 months ago

BigBlueHat commented 8 months ago

Finding the YYYY - YYYY change (from the more typical) YYYY-YYYY format a bit sad (which is of course certainly idiosyncratic). 😄

So, what if REUSE offered a standard time interval format such as ISO 8601's YYYY/YYYY or YYYY--YYYY? Both are relatively uncommon (in my experience at least), but would be parse-able by any ISO 8601 implementation.

Just an idea. 🎩

BigBlueHat commented 8 months ago

Thought about this one some more...I think it's too weird.

The bigger thing I want is to have date ranges match what I've observed most places over the last two decades: YYYY-YYYY vs. what the tool generates now which is YYYY - YYYY. I know it's silly and small (like #913), but it's literally blocked my use of REUSE on projects...which is very sad.

At this point, though, it'd probably need to be another config or made possible through more capable templating perhaps as part of #581.

carmenbianca commented 7 months ago

I'm happy to re-open this to look at it. Not sure why the spaces are there when they're not very common.