Skip to content

Commit

Permalink
Merge pull request #13 from thapar/patch-3
Browse files Browse the repository at this point in the history
This resolves the timezone issue
  • Loading branch information
webdigi committed Feb 24, 2015
2 parents e9c249f + 3997deb commit 88a14ad
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Utils.gs
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ function parseDateFormat(str) {
// var date = Date.parse(str);
var date = Date.future(str);
if (date.isValid() && date.isFuture()) {
if(dateConversionRequired(str)){
return convertToUserDate(date).full();
}
return date.full();
return convertToUserDate(date).full();
}

return null;
Expand Down

0 comments on commit 88a14ad

Please sign in to comment.