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

fix: adding functionality to update isvotedinlast3months in tsc_voting_overview.md #1630

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Shivrajsoni
Copy link

@Shivrajsoni Shivrajsoni commented Jan 1, 2025

#1614
Description
update voting_tracker.js so that at each user Update , isVotedInLast3Months (in table ) get updated according to lastparticipatedvotetime (of table TSC_VOTING_OVERVIEW)

and manually updated the TSC_VOTING_OVERVIEW.md file

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@Shivrajsoni Shivrajsoni changed the title Adding functionality to update IsVotedInLast3Months in TSC_VOTING_OVERVIEW.md fix: Adding functionality to update IsVotedInLast3Months in TSC_VOTING_OVERVIEW.md Jan 1, 2025
@Shivrajsoni Shivrajsoni changed the title fix: Adding functionality to update IsVotedInLast3Months in TSC_VOTING_OVERVIEW.md fix: adding functionality to update isvotedinlast3months in tsc_voting_overview.md Jan 1, 2025
voteInfo.lastParticipatedVoteTime = currentTime;
voteInfo.isVotedInLast3Months = isVotingWithinLastThreeMonths(voteInfo.lastParticipatedVoteTime)? 'true' : 'false';
Copy link
Member

Choose a reason for hiding this comment

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

can you explain how did you try to test it locally? isVotingWithinLastThreeMonths expects an object, and here you don't pass an object?

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