-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: FORMS-1586 scheduler errors (#1529)
* Update FormViewer schedule message If the user set a custom message for the scheduler, it will be displayed now. * Fixed schedule issue The issue with the schedule was because formatting it to a specific day would mean it's the start of the day. We needed to set it to the end of the day. Formatting it also would turn a date into a string, and we would lose access to the moment capabilities on it. So it's removed in a lot of places. Added tests for the checkIsFormExpired function. * Update utils.spec.js Accidentally duplicated a test, this just needs to be removed!
- Loading branch information
1 parent
a5eb1e8
commit cc6a871
Showing
4 changed files
with
311 additions
and
101 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
Oops, something went wrong.