Open samirqumsieh opened 3 years ago
Hi there, I couldn't update the time using the setTime() function, until I commented the "die($t)" on the Time.php class.
`static public function set(ZKTeco $self, $t) { // die($t); $self->_section = METHOD;
$command = Util::CMD_SET_TIME; $command_string = pack('I', Util::encodeTime($t)); return $self->_command($command, $command_string); }`
Also had to do this - I assume this was mistakenly left in the code on last commit.
Hi there, I couldn't update the time using the setTime() function, until I commented the "die($t)" on the Time.php class.
`static public function set(ZKTeco $self, $t) { // die($t); $self->_section = METHOD;