-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #744 from Crown-Commercial-Service/OST-509-Update-…
…Banner-Datetimes-For-G13 OST-509-Update-Banner-Datetimes-For-G13
- Loading branch information
Showing
3 changed files
with
11 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
from .flask_init import init_app | ||
|
||
|
||
__version__ = '60.7.0' | ||
__version__ = '60.7.1' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from datetime import datetime | ||
|
||
DOS6_OPEN = datetime(2022, 1, 14, 12, 0, 0) | ||
DOS6_CLOSE = datetime(2022, 2, 24, 15, 0, 0) | ||
G13_OPEN = datetime(2022, 3, 9, 10, 0, 0) | ||
G13_CLOSE = datetime(2022, 5, 18, 15, 0, 0) | ||
|
||
|
||
def are_new_frameworks_live(params) -> bool: | ||
return DOS6_OPEN <= datetime.now() <= DOS6_CLOSE or params.get('show_dmp_so_banner') == 'true' | ||
return G13_OPEN <= datetime.now() <= G13_CLOSE or params.get('show_dmp_so_banner') == 'true' |
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