Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the end time on the end date of licenses created #4781

Merged
merged 3 commits into from Jul 10, 2018

Conversation

shubhi1092
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Jul 9, 2018

Coverage Status

Coverage remained the same at 63.567% when pulling 13273f3 on license-enddate-time into 246a6d6 on master.

Copy link
Contributor

@differentmatt differentmatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a variable naming suggestion, looks fine though.

@@ -222,6 +222,7 @@ module.exports = Vue.extend({
user = yield api.users.getByEmail({email})
attrs = data
attrs.maxRedeemers = parseInt(data.maxRedeemers)
data.endDate = data.endDate + " " + "23:59" # Otherwise, it ends at 12 am by default which does not include the date indicated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the attrs variable instead of the data variable here and the next 2 lines, like AdministerUserModel.coffee?
attrs.endDate = attrs.endDate + " " + "23:59"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we can do that to make it similar to AdministerUserModel.coffee.
Do you want me to change it in this PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, if you're going to change it please do it in the PR so you can squash and merge into one commit in master and keep things clean. Thanks!

@shubhi1092 shubhi1092 merged commit dc27b3d into master Jul 10, 2018
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.

None yet

3 participants