-
Notifications
You must be signed in to change notification settings - Fork 100
feat(standings): add sdate/edate support to rounds #6923
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
base: main
Are you sure you want to change the base?
Conversation
hjpalpha
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this needed?
for allowing time-based round inputs like in old GTL/STLs |
i think that wasn't wanted for matches/games |
16401af to
03da4e5
Compare
https://discord.com/channels/93055209017729024/874304000718172200/1450022705641291857 |
03da4e5 to
8da2f42
Compare
| local matches = Array.parseCommaSeparatedString(roundData.matches) | ||
| local startDate = Logic.isNotEmpty(roundData.sdate) and | ||
| DateExt.readTimestamp(roundData.sdate) or DateExt.defaultTimestamp | ||
| local endDate = Logic.isNotEmpty(roundData.edate) and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you candrop the isempty check for this and the one above
readTimestamp returns nil on empty
|
Will leave this be until Rath can take a look |
Summary
Depends on #6920
This PR adds support for
|sdate=and|edate=params for rounds in standings table.How did you test this change?
dev