« first day (451 days earlier)      last day (813 days later) » 

4:29 AM
@JonathanAllan The problem is that the command-line arguments are parsed as strings, not characters. Since I'm using the Python format for input and Python doesn't distinguish between characters and singleton strings, I had to pick one. This works.
 
 
3 hours later…
7:04 AM
@Dennis Ah I see, the predicament; one could in theory write more code to deal with the two cases separately. Thanks for clarifying.
 

« first day (451 days earlier)      last day (813 days later) »