dzVents: dz.time.dayName -> "WednesDay"  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
plugge

dzVents: dz.time.dayName -> "WednesDay"  [Solved]

Post by plugge »

@waaren FYI
dz.time.dayName returns "WednesDay".
(dzVents 3.1.7)
I haven't checked the other week day names.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: dzVents: dz.time.dayName -> "WednesDay"

Post by waaren »

plugge wrote: Wednesday 24 March 2021 10:36 dz.time.dayName returns "WednesDay". (dzVents 3.1.7)
Thanks for reporting. Will be fixed in next build.
If you do not want to update for this, you can change line

Code: Select all

local LOOKUPDAYNAME = { 'Sunday', 'Monday', 'Tuesday', 'WednesDay', 'Thursday', 'Friday', 'Saturday' }
of <domoticzdir>/dzVents/runtime/Time.lua ( somewhere around line 147 )
to

Code: Select all

local LOOKUPDAYNAME = { 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' }
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
plugge

Re: dzVents: dz.time.dayName -> "WednesDay"

Post by plugge »

Thanks for reporting. Will be fixed in next build.
If you do not want to update for this, you can change line
Thanx!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest