remy/mit-license — Issue #76: support for years in copyright statement
Author: pmuellr
Created: 2011-10-20 16:58:57+00:00
State: open

Seems like it might be nice to support a way to inject a "year string" in the generated copyright file. The standards here are pretty ... non-standard, but I've certainly seen things like the following:

```
2011
2009-2011
2009,2011
2009,2010,2011
2008,2010-2011
```

ad nausem

I've always thought either a single year or a single range would be enough - the comma'd versions don't make too much logical sense to me.

Some examples of how you might use this:

part of the URL path:

```
http://rem.mit-license.org/2009-2011/license.txt
http://rem.mit-license.org/2009/license.txt
```

query string:

```
http://rem.mit-license.org/license.txt?2009-2011
http://rem.mit-license.org/license.txt?2009
```

or

```
http://rem.mit-license.org/license.txt?years=2009-2011
http://rem.mit-license.org/license.txt?years=2009
```

The query string versions look rather hideous. I like the in-path version. Perhaps this could be supported by looking at every path segment, see if it matches a "year string" regex, and if it does, the pull that out as the year string.