From f5932cbfebb7345f20a5f97c384b9b172d5a3839 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Thu, 1 Jun 2017 08:51:35 -0700 Subject: [PATCH] Remove year from upDate --- .../37-sync-pac-script-with-pac-provider-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.js index ff2c324..c09c197 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/37-sync-pac-script-with-pac-provider-api.js @@ -228,7 +228,7 @@ setTitle() { const upDate = new Date(this.lastPacUpdateStamp).toLocaleString('ru-RU') - .replace(/:\d+$/, ''); + .replace(/:\d+$/, '').replace(/\.\d{4}/, ''); chrome.browserAction.setTitle({ title: `Обновлялись ${upDate} | Версия ${window.apis.version.build}`, });