Changes between Version 28 and Version 29 of Rules/PublicTransportGtfs


Ignore:
Timestamp:
2021-01-11T21:23:49+01:00 (3 years ago)
Author:
skyper
Comment:

Alow release_dates from 2021

Legend:

Unmodified
Added
Removed
Modified
  • Rules/PublicTransportGtfs

    v28 v29  
    285285*[network:guid ][network:guid  !~ /^(([A-Z]{2}-){2}[a-zA-Z]{2}.*|[A-Z]{2}-Flixbus|BO-C-Cochabamba|(CH|LU)-[a-zA-Z]{3,}|CO-BOY-[A-Z].+|ES-AR-Z-[A-Z].+|FR-IDF-(r|[a-zA-Z]{3,}.*)|MG-T-Antananarivo)$/],
    286286*[operator:guid][operator:guid !~ /^(([A-Z]{2}-){2}[a-zA-Z]{2}.*|[A-Z]{2}-Flixbus|BO-C-Cochabamba|(CH|LU)-[a-zA-Z]{3,}|CO-BOY-[A-Z].+|ES-AR-Z-[A-Z].+|FR-IDF-(r|[a-zA-Z]{3,}.*)|MG-T-Antananarivo)$/],
    287 *[gtfs:release_date][gtfs:release_date !~ /^20(1[7-9]|20)-(0[1-9]|1[0-2])-(3[01]|[12][0-9]|0[1-9])$/] {
     287*[gtfs:release_date][gtfs:release_date !~ /^20(1[7-9]|2[01])-(0[1-9]|1[0-2])-(3[01]|[12][0-9]|0[1-9])$/] {
    288288  throwError: tr("Value `{0}` for `{1}=*` does not match value syntax.", "{0.value}", "{0.key}");
    289289/*  throwError: tr("Value `{0}` for `{1}=*` does not match value syntax `{2}`.", "{0.value}", "{0.key}", "{1.value}"); */