Skip to content

Commit

Permalink
Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
argon committed Jun 16, 2012
1 parent a82ed34 commit 18a5259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -62,7 +62,7 @@ Next, create a notification object and set parameters. See the [payload document

var note = new apns.Notification();

note.expiry = (Date.now() / 1000) + 3600; // Expires 1 hour from now.
note.expiry = Math.floor(Date.now() / 1000) + 3600; // Expires 1 hour from now.
note.badge = 3;
note.sound = "ping.aiff";
note.alert = "You have a new message";
Expand Down

0 comments on commit 18a5259

Please sign in to comment.