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

Commit

Permalink
change strftime() so it works on Windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
chapeupreto committed Feb 8, 2018
1 parent f42aee5 commit d14833e
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 d14833e

Please sign in to comment.