Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from chucklarge/master
Browse files Browse the repository at this point in the history
explicitly set timezone
  • Loading branch information
client9 committed Jan 5, 2016
2 parents 810c1e5 + e065fdc commit 628f6fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions php/snowflake.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
*
*/

date_default_timezone_set('UTC');

function utc2snowflake($stamp)
{
bcscale(0);
Expand Down

0 comments on commit 628f6fb

Please sign in to comment.