Use dates set for DateRange to change status of Date element. Compare UTC date from server to users local date.
Upcoming - Can only display if Range enum is used. Displays when current date < start_date
Open - Displays when current date => start_date < end_date -5 days OR when current date < 'date' -5 days
Deadline - Displays 5 days before 'end_date' or 'date'
Closed - Displays when current date > 'end_date' or 'date'
In the case where the date-set status' above aren't applicable, add an additional enum option Other(String) with plain styling for the user to specify a status. This would override the function above.
Use dates set for DateRange to change status of Date element. Compare UTC date from server to users local date.
Upcoming - Can only display if `Range` enum is used. Displays when current date < `start_date`
Open - Displays when current date => `start_date` < `end_date` -5 days OR when current date < 'date' -5 days
Deadline - Displays 5 days before 'end_date' or 'date'
Closed - Displays when current date > 'end_date' or 'date'
In the case where the date-set status' above aren't applicable, add an additional enum option `Other(String)` with plain styling for the user to specify a status. This would override the function above.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Use dates set for DateRange to change status of Date element. Compare UTC date from server to users local date.
Upcoming - Can only display if
Rangeenum is used. Displays when current date <start_dateOpen - Displays when current date =>
start_date<end_date-5 days OR when current date < 'date' -5 daysDeadline - Displays 5 days before 'end_date' or 'date'
Closed - Displays when current date > 'end_date' or 'date'
In the case where the date-set status' above aren't applicable, add an additional enum option
Other(String)with plain styling for the user to specify a status. This would override the function above.