Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #918 from egovernments/debasishchakraborty-egovt-p…
Browse files Browse the repository at this point in the history
…atch-5

Update app.py
  • Loading branch information
pradeepkumarcm-egov authored Aug 19, 2024
2 parents fadfeda + 65b4d20 commit 3a91664
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions utilities/rollout-dashboard-cronjob/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,16 +812,13 @@ def is_saturdaydayOrSunday():
print("DateTime today :",datetime.today().weekday())
return datetime.today().weekday() in [5, 6]
def get_daterange():
if is_saturdaydayOrSunday():
return [
return [
'Last seven days', 'Last 15 days', 'currentMonth-Till date', 'Previous Month',
'Quarter-1', 'Quarter-2', 'Quarter-3', 'Quarter-4',
'Consolidated (As on date)', 'FY to date',
'Previous 1st FY (23-24)', 'Previous 2nd FY (22-23)', 'Previous 3rd FY (21-22)'
]
else:
return ['Last seven days', 'Last 15 days', 'currentMonth-Till date', 'Consolidated (As on date)', 'FY to date']


def process():
print("continue is the process")

Expand Down

0 comments on commit 3a91664

Please sign in to comment.