Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #19 from chapeupreto/compatibilidade-windows
Browse files Browse the repository at this point in the history
change strftime() so it works on Windows systems
  • Loading branch information
chapeupreto authored Feb 8, 2018
2 parents f42aee5 + d14833e commit 44a46ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sinesp.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ private function xml()
</v:Body>
</v:Envelope>
EOX;
return sprintf($xml, $this->latitude(), $this->token(), $this->longitude(), strftime('%Y-%m-%d %T'), $this->placa);
return sprintf($xml, $this->latitude(), $this->token(), $this->longitude(), strftime('%Y-%m-%d %H:%M:%S'), $this->placa);
}

private function validar($placa)
Expand Down

0 comments on commit 44a46ce

Please sign in to comment.