Commit 9bb6be75 authored by Volker Krause's avatar Volker Krause Committed by David Faure
Browse files

Consider "through" as alternative range separator

BUG: 446136
parent 95f816ef
Pipeline #105601 passed with stage
in 58 seconds
......@@ -276,6 +276,7 @@ private Q_SLOTS:
T2("Mo-Th 11:00-20:00 Friday & Saturday 11:00-21:00 Sunday 12:00-19:00", "Mo-Th 11:00-20:00; Fr,Sa 11:00-21:00; Su 12:00-19:00");
T2("11:30-14:00、16:30-22:00", "11:30-14:00,16:30-22:00");
T2("Lunedì al Venerdì 08:00-13:00", "Mo-Fr 08:00-13:00");
T2("Monday through Friday 09:00 - 17:00", "Mo-Fr 09:00-17:00");
// (mis)use of colon as a small-range selector separator
T2("Fr: 17:00-19:00", "Fr 17:00-19:00");
......
......@@ -201,7 +201,7 @@ Dec\.? { yylval->num = 12; return T_MONTH; }
h|時 { return T_ALT_TIME_SEP_OR_SUFFIX; }
/* alternative range separators */
~|~|〜|to|à|bis|a|ás|às|as|au|al|→|до|дo|пo { return T_ALT_RANGE_SEP; }
~|~|〜|to|through|à|bis|a|ás|às|as|au|al|→|до|дo|пo { return T_ALT_RANGE_SEP; }
/* localized state names */
ferm(e|é)|geschlossen|ruhetag|encerrado|chiuso|закры{CYRILLIC}*|Вых{CYRILLIC}*|cerrado|libre { yylval->state = State::Closed; return T_STATE; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment