Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in applystddate #1

Open
lefebvresam opened this issue Feb 27, 2018 · 0 comments
Open

bug in applystddate #1

lefebvresam opened this issue Feb 27, 2018 · 0 comments

Comments

@lefebvresam
Copy link

lefebvresam commented Feb 27, 2018

In the script applystddate there is a mismatch in the day:

#      print POSIX::strftime("%b %e %H:%M:%S", $6, $5, $4, $3+1, $2-1, $1 - 1900) . " " . $ThisLine;
      print POSIX::strftime("%b %e %H:%M:%S", $6, $5, $4, $3, $2-1, $1 - 1900) . " " . $ThisLine;

This is perl 5, version 20, subversion 2 (v5.20.2) built for arm-linux-gnueabihf-thread-multi-64int

I see in 5.26 mday do not starts at 0: http://search.cpan.org/~shay/perl-5.26.1/ext/POSIX/lib/POSIX.pod#strftime


Date Range Processed: 2018/02/25

Feb 26 17:48:49 FINE T1serialRelayCardA: Toggle [RELAY1] in the state [ON]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant