Skip to content

Commit

Permalink
convert current year to string
Browse files Browse the repository at this point in the history
  • Loading branch information
aha01 committed Feb 23, 2017
1 parent b520e0b commit f248fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pubvis.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ PUBVIS = function () {
{
var tmp_json = data.json;
var tmp_errors = data.errors;
var currYear = new Date().getFullYear();
var currYear = new Date().getFullYear().toString();

for(i = 0; i < tmp_json.length; i++)
{
Expand Down

0 comments on commit f248fbb

Please sign in to comment.