Skip to content

Fix date value in timestamp#10

Open
seri530 wants to merge 2 commits into
Upplication:masterfrom
seri530:master
Open

Fix date value in timestamp#10
seri530 wants to merge 2 commits into
Upplication:masterfrom
seri530:master

Conversation

@seri530

@seri530 seri530 commented Oct 4, 2018

Copy link
Copy Markdown

The date.getMonth() returns with a value between 0 and 11 (e.g.: January == 0). To display the correct date, you should add 1 to that.

Ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.099% when pulling ec3f6b0 on seri530:master into e91659d on Upplication:master.

2 similar comments
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.099% when pulling ec3f6b0 on seri530:master into e91659d on Upplication:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.099% when pulling ec3f6b0 on seri530:master into e91659d on Upplication:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants