-
Notifications
You must be signed in to change notification settings - Fork 14
Make Start Date appear #1687
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
Open
bakobagassas
wants to merge
13
commits into
development
Choose a base branch
from
startDate2
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+20
−18
Open
Make Start Date appear #1687
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b1934f1
now the date carries in the weekly series
bakobagassas 034bf0b
Merge branch 'development' into startDate2
bakobagassas 6b57fa1
carrying time for the weekly events
bakobagassas 4e88688
carried date for occurrences
bakobagassas 00c7bcf
solving the date convertion issue
bakobagassas 2d35b9e
made the date format more consistent.
bakobagassas 9966066
Merge branch 'development' into startDate2
bakobagassas 12bcc48
fixed the time carrying
bakobagassas be07b8a
Merge branch 'startDate2' of https://github.com/BCStudentSoftwareDevT…
bakobagassas b9758c5
Merge branch 'development' into startDate2
bakobagassas 70b3958
Parsing the date to format it the way we need
bakobagassas 7bdd849
Merge branch 'startDate2' of https://github.com/BCStudentSoftwareDevT…
bakobagassas ebb86ac
date format
bakobagassas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -772,7 +772,7 @@ def test_deleteEvent(): | |
| @pytest.mark.integration | ||
| def test_upcomingEvents(): | ||
| with mainDB.atomic() as transaction: | ||
| testDate = datetime.strptime("2021-08-01 05:00","%Y-%m-%d %H:%M") | ||
| testDate = datetime.strptime("08/01/2021 05:00","%m/%d/%Y %H:%M") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I want to know why do you have to change this because if there is a reason there are other places in the folder like test_participants > test_getEventLengthInHours() that should be change too. |
||
| dayBeforeTestDate = testDate - timedelta(days=1) | ||
|
|
||
| # Create a user to run the tests with | ||
|
|
@@ -1329,7 +1329,7 @@ def test_inviteCohortsToEvent(): | |
| with app.app_context(): | ||
| g.current_user = "heggens" | ||
|
|
||
| testDate = datetime.strptime("2025-08-01 05:00","%Y-%m-%d %H:%M") | ||
| testDate = datetime.strptime("08/01/2025 05:00","%m/%d/%Y %H:%M") | ||
| programEvent = Program.create(id = 13, | ||
| programName = "Bonner Scholars", | ||
| isBonnerScholars = True, | ||
|
|
@@ -1362,7 +1362,7 @@ def test_updateEventCohorts(): | |
| with app.app_context(): | ||
| g.current_user = "heggens" | ||
|
|
||
| testDate = datetime.strptime("2025-10-01 05:00","%Y-%m-%d %H:%M") | ||
| testDate = datetime.strptime("10/01/2025 05:00","%m/%d/%Y %H:%M") | ||
| programEvent = Program.create(id = 13, | ||
| programName = "Bonner Scholars", | ||
| isBonnerScholars = True, | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I don't think this print statement is needed.