From ca42d38139f52d8edf6e0792b8cfb5b6404d9112 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 04 May 2019 12:23:02 +0000 Subject: [PATCH] Normalize stop names (add space after period) --- common.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/common.js b/common.js index b434bf1..0bf165e 100644 --- a/common.js +++ b/common.js @@ -115,6 +115,10 @@ * PARSING * ***********/ +function normalizeName(string) { + return string.replace('.', '. ').replace(' ', ' '); +} + function parseStatus(status) { switch(status.status) { case 'STOPPING': -- Gitblit v1.9.1