Spaces:
Sleeping

Rajarshi255 commited on
Commit
54fa237
·
verified ·
1 Parent(s): 0a27d28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -101,7 +101,9 @@ def save_to_master_doc(name, klass, title, summary):
101
  ]
102
  )
103
  service = build('docs', 'v1', credentials=creds)
104
- timestamp = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
 
 
105
 
106
  new_entry = (
107
  f"\n\n### START_ENTRY ###\n"
 
101
  ]
102
  )
103
  service = build('docs', 'v1', credentials=creds)
104
+ #timestamp = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
105
+ # Adjusted for IST (UTC + 5:30)
106
+ timestamp = (datetime.datetime.now() + datetime.timedelta(hours=5, minutes=30)).strftime('%Y-%m-%d %H:%M:%S')
107
 
108
  new_entry = (
109
  f"\n\n### START_ENTRY ###\n"