Fix pattern for timestamps in month October which are set by valueFn of DbLog device.
Hi,
I'm a litttle bit confused about your version. The last version is:
FVERSION 93_DbLog.pm:v4.9.6-s20883/2020-01-04
and the mentioned code doesn't exist. The valueFn is currently designed as:
....
my ($yyyy, $mm, $dd, $hh, $min, $sec) = ($TIMESTAMP =~ /(\d+)-(\d+)-(\d+) (\d+):(\d+):(\d+)/);
eval { my $epoch_seconds_begin = timelocal($sec, $min, $hh, $dd, $mm-1, $yyyy-1900); };
if (!$@) {
$timestamp = $TIMESTAMP;
} else {
.....
Uuups, inddeed there is an old code snippet in lines 4624. I will change it to the current standard code.
best regards
Heiko
I have changed the code to DbLog standard and checked in the module just now.
regards,
Heiko