diff options
| -rw-r--r-- | migration/migration.cpp | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/migration/migration.cpp b/migration/migration.cpp index d4ec6493..eda88071 100644 --- a/migration/migration.cpp +++ b/migration/migration.cpp @@ -50,15 +50,13 @@ void migrator::register_migration(mptr const& m)      bool ok = true; -    if (year < "2016") -        abort();      const int month_ = to_int(month, ok), day_ = to_int(day, ok);      (void) to_int(year, ok);      (void) to_int(serial, ok); -    if (!ok) +    if (!ok || year < 1970)          abort();      if (month_ < 1 || month_ > 12) | 
