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

Issues in get current funding route phase because of date time #159

Open
anarkrypto opened this issue Feb 16, 2025 · 0 comments
Open

Issues in get current funding route phase because of date time #159

anarkrypto opened this issue Feb 16, 2025 · 0 comments

Comments

@anarkrypto
Copy link
Collaborator

I see currently the getCurrentPhase method sometimes does not work. So I investigated and saw that when admin choose the phases date in dashboard for the funding rounds creation, the dates are set like 2025-02-16T03:00:00.000Z if I choose 16 Feb. Probably because I am in Brazil, which is UTC +3

So the first issue is that: it should not use local date time and convert to utc, but instead to use a default time.

But also I don't think we should set 00:00:00 as default time, since it is when the day starts, not when it ends. So using 00:00:00 the submission date would finish before 16 Feb actually starts, what seems not to be the intention when an admin sets that date. So probably we must set as 23:59:59. By doing this, participants will have all that day to finish.

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

No branches or pull requests

1 participant