Commit 101e6637 authored by Deep Dey's avatar Deep Dey

chore: update dob logic for application form

parent 035fa06b
...@@ -429,7 +429,7 @@ ...@@ -429,7 +429,7 @@
<script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./constant.js?v=03-07-2025"></script> <script src="./constant.js?v=03-07-2025"></script>
<script src="./main.js?v=03-07-2025"></script> <script src="./main.js?v=06-01-2026"></script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -34,7 +34,7 @@ $(document).ready(function () { ...@@ -34,7 +34,7 @@ $(document).ready(function () {
var currentYear = currentDate.getFullYear(); var currentYear = currentDate.getFullYear();
var upperLimitDate = new Date(currentYear - 1, 0, 1); var upperLimitDate = new Date(currentYear - 1, 0, 1);
var lowerLimitDate = new Date(currentYear - 2, 0, 2); var lowerLimitDate = new Date(currentYear - 3, 0, 2);
// Format the dates as YYYY-MM-DD strings // Format the dates as YYYY-MM-DD strings
var upperLimitDateString = upperLimitDate.toISOString().split('T')[0]; var upperLimitDateString = upperLimitDate.toISOString().split('T')[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment