Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Surya Narayana
/
ai-workforce-rasa
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e9e551b5
authored
Feb 22, 2021
by
Sai Komuravelli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
time conditions modified
parent
2926f38b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
actions/actions.py
actions/actions.py
View file @
e9e551b5
...
@@ -56,7 +56,7 @@ def validate_available_date(date_text):
...
@@ -56,7 +56,7 @@ def validate_available_date(date_text):
print
(
"passed weekday condition"
)
print
(
"passed weekday condition"
)
if
dateCheck
not
in
HolidaysList
:
if
dateCheck
not
in
HolidaysList
:
print
(
"passed non holidays day condition"
)
print
(
"passed non holidays day condition"
)
if
int
(
timeCheck
)
>=
9
and
int
(
timeCheck
)
<
17
:
if
int
(
timeCheck
)
>=
10
and
int
(
timeCheck
)
<
18
:
print
(
"passed working hours condition"
)
print
(
"passed working hours condition"
)
return
True
return
True
return
False
return
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment