As a user, I want end date for news event to automaticly be after start date, so that I can just change the time for end date, without having to chagne date too
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 5
- Avg merge
- 6h 45m
- Merged PRs (30d)
- 3
Description
### 📝 Description
# Improve Start/End Date Handling
## Current Behavior
- `startDate` and `endDate` are initialized to the current date and time.
- Users currently have to manually update:
1. Start date
2. Start time
3. End date
4. End time
## Proposed Improvement
- When the user updates the **start date**:
- If the current **end date** is before the new start date, automatically set the end date to match the start date.
- Users would then only need to adjust the **end time**, reducing unnecessary steps.
## Benefit
- Simplifies the workflow.
- Reduces potential errors from accidentally setting an end date earlier than the start date.
### ✅ Acceptance Criteria
- [ ] When user changes start date for event, end date becomes same as start date
- [ ] The above only happens if end date becomes prior to start date
### 💡 Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.