Skip to content

Validating dates of the trip#1876

Closed
sobithav18 wants to merge 1 commit intoapu52:mainfrom
sobithav18:validating_dates
Closed

Validating dates of the trip#1876
sobithav18 wants to merge 1 commit intoapu52:mainfrom
sobithav18:validating_dates

Conversation

@sobithav18
Copy link

@sobithav18 sobithav18 commented Oct 7, 2025

Title and Issue number

Title : Validating dates of trip

Issue No. :#1875

Code Stack : Javascript

Close #<issue_no>

Description

Start date can’t be in the past.
End date can’t be before the start date.
End date’s calendar automatically disables dates before the selected start date, so users cannot pick invalid dates.

Video/Screenshots (mandatory)

https://drive.google.com/file/d/1ektO4D6ennkTX32GXZUsfq7F0LHMkoo9/view?usp=sharing

Type of PR

  • [ X] Bug fix
  • Feature enhancement
  • Documentation update
  • Other (specify): _______________

Checklist:

  • [yes] I have performed a self-review of my code.
  • [yes ] I have commented my code, particularly in hard-to-understand areas.
  • [ yes] I have tested the changes thoroughly before submitting this pull request.
  • [ yes] I have provided relevant issue numbers, screenshots, and videos after making the changes.
  • [yes ] I have gone through the contributing.md file before contributing
  • [yes] I have Starred the Repository.

Additional context:

##Are you contributing under any Open-source programme?

  • [X ] I am contributing under APERTRE 2025
  • I am contributing under CODEPEAK 2025

…s to accept only correct dates like : ending date of trip can't be before starting date, starting date of trip can only be from today
@netlify
Copy link

netlify bot commented Oct 7, 2025

Deploy Preview for taupe-cendol-f7e2bb ready!

Name Link
🔨 Latest commit 1e00978
🔍 Latest deploy log https://app.netlify.com/projects/taupe-cendol-f7e2bb/deploys/68e4e755443532000865e315
😎 Deploy Preview https://deploy-preview-1876--taupe-cendol-f7e2bb.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants