From 3226422f7602b58bb636ca1d21c9e4a9e88e0184 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sun, 8 Aug 2021 21:12:40 +0300 Subject: [PATCH] small fix --- ru/holydays-ru-widget.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ru/holydays-ru-widget.lua b/ru/holydays-ru-widget.lua index eda6870..029cb24 100644 --- a/ru/holydays-ru-widget.lua +++ b/ru/holydays-ru-widget.lua @@ -14,7 +14,6 @@ local auto_folding = false local lines = {} local json = require "json" -local sx = require "pl.stringx" function on_resume() if auto_folding then @@ -30,7 +29,7 @@ end function on_network_result(result) local t = json.decode(result) for i = 1, #t, 1 do - local date = sx.replace(t[i].date, "-", ".") + local date = t[i].date:replace("-", ".") local name = t[i].localName lines[i] = date.." - "..name end