Skip to content
Browse files

Readme.md

  • Loading branch information...
1 parent a82ed34 commit 18a5259a7c72ae924bfe2055c377436066cf9d16 @argon committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -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";

0 comments on commit 18a5259

Please sign in to comment.
Something went wrong with that request. Please try again.