Fix dealing with plain years

`-from` and `-to` flags also work