Permalink
Browse files

Made sure that the start & end tweet ids are included in the tweets r…

…eturned
  • Loading branch information...
1 parent 09c39c9 commit 17ab88756f785524808d82ea666f5a9b4fc08da9 @wmwragg committed Mar 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 twittermap/twittermap.js
View
@@ -41,8 +41,8 @@
if (tweetsConfig !== undefined && (typeof tweetsConfig === 'string')) {
sinceTweetsDate = new Date(tweetsConfig);
} else if (tweetsConfig !== undefined && tweetsConfig.length === 2) {
- twitterlibOptions.since = tweetsConfig[0];
- twitterlibOptions.max = tweetsConfig[1];
+ twitterlibOptions.since = tweetsConfig[0] - 1;
+ twitterlibOptions.max = tweetsConfig[1] + 1;
}
if (pathConfig !== undefined && (typeof pathConfig === 'string')) {
sincePathDate = new Date(pathConfig);

0 comments on commit 17ab887

Please sign in to comment.