Skip to content

Commit

Permalink
added date conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
saravanpa-aot committed Sep 29, 2023
1 parent f17ac21 commit 7566c75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions met-api/src/met_api/services/project_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,19 @@ def _get_engagement_and_metadata(eng_id: str):

@staticmethod
def _construct_epic_payload(engagement, project_id):
print('\n'*5)
print('----engagement.start_date----',engagement.start_date)
print('----engagement.end_date----', engagement.end_date)
site_url = notification.get_tenant_site_url(engagement.tenant_id)
start_date_utc = get_local_formatted_date_time(engagement.start_date)
end_date_utc = get_local_formatted_date_time(engagement.end_date)
print('----start_date_utc----', start_date_utc)
print('----end_date_utc----', end_date_utc)
start_date_utc = engagement.start_date.isoformat()
end_date_utc = engagement.end_date.isoformat()
print('----start_date_utc-ISO---', start_date_utc)
print('----end_date_utc--ISO--', end_date_utc)

epic_comment_period_payload = {
'isMet': 'true',
# metURL is the public url using slug
Expand Down

0 comments on commit 7566c75

Please sign in to comment.