mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
adjust modified dates to the correct timezone
This commit is contained in:
parent
cb96c44176
commit
f8bc64f097
4 changed files with 33 additions and 2 deletions
|
|
@ -130,4 +130,12 @@ class Server {
|
|||
return new Share($this, $name);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTimeZone() {
|
||||
$command = 'net time zone -S ' . escapeshellarg($this->getHost());
|
||||
return exec($command);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue