-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rsdev 326 backend time validation (#7)
* add time field subclass to allow validation of time formats * record factory creates newly added ExtraTimeField * use feature branch version * Revert "add time field subclass to allow validation of time formats" This reverts commit 62541d7. * Revert "record factory creates newly added ExtraTimeField" This reverts commit 1b4e87f. * add validation to sample date and time fields * add time field to template * only perform validation where time has been set. empty values are permitted * remove empty strings from invalid list of time formats * combine ifs and extract to method. remove unused imports. * update time format in error message
- Loading branch information
Showing
4 changed files
with
79 additions
and
54 deletions.
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
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