-
Notifications
You must be signed in to change notification settings - Fork 9
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
Test non-standard date and time formats #2127
Merged
labkey-danield
merged 28 commits into
release24.11-SNAPSHOT
from
24.11_fb_testNonStandardDateAndTimeFormats
Dec 4, 2024
Merged
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
76039f9
Consolidate helpers that interact with Date, Time and DateTime fields.
labkey-danield 334dbf3
Re-enable ProjectSettingsTest.testInjection.
labkey-danield dfa1194
Fix error in DomainFieldRow.setFormat
labkey-danield 4f5f6bf
Change the none time format to have a format value of "<none>".
labkey-danield 539011f
Use variable and remove reference to string value.
labkey-danield 220418c
Merge branch 'develop' into fb_testNonStandardDateAndTimeFormats
labkey-danield e668d50
Merge branch 'develop' into fb_testNonStandardDateAndTimeFormats
labkey-danield d51174c
Testing non-standard formats in list and projects.
labkey-danield 59970f4
Added test for Data Sets.
labkey-danield ed46e30
Merge branch 'develop' into fb_testNonStandardDateAndTimeFormats
labkey-danield 3b98f94
Add comments and descriptions doe each test.
labkey-danield 313b0d2
Merge branch 'develop' into fb_testNonStandardDateAndTimeFormats
labkey-danield c174c26
Adding tests for child folder and site settings.
labkey-danield 6efad7d
Merge branch 'develop' into fb_testNonStandardDateAndTimeFormats
labkey-danield 2e955ec
Add test for site and subfolder settings.
labkey-danield cb2181e
Cleaning up code and comments.
labkey-danield 3019f76
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield f9a5685
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield 16e0a2c
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield 03e6116
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield 07a1c32
Validate using 'Date', 'Time' and 'DateTime' as format values.
labkey-danield 83a18d5
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield 03f730a
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield 3670157
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield 6163394
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield 8123c4c
Merge branch 'release24.11-SNAPSHOT' into 24.11_fb_testNonStandardDat…
labkey-danield 121f8b0
Some minor clean up.
labkey-danield 32bf6ab
In DomainFormPanel.editField fix how a DateTime format is parsed.
labkey-danield 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 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 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
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 works with
MMMM dd yyyy
date time format?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.
You are right.
I have changed the code to this:
If the "last part" of the format string contains a ':' the it has a time value. If it doesn't then it is a date only format.