Commit e2d7af540a8b092eb333f3baf80d70ac0ff8af5f
Date time stamp in now UTC
| | | | 30 | for sweet in sweet_list: | 30 | for sweet in sweet_list: |
---|
31 | if len(sweet['who']) and len(sweet['what']) and len(sweet['where'])\ | 31 | if len(sweet['who']) and len(sweet['what']) and len(sweet['where'])\ |
---|
32 | and len(sweet['how']): | 32 | and len(sweet['how']): |
---|
33 | sweet['created'] = datetime.now().strftime(TIMESTAMP_FORMAT) | | sweet['created'] = datetime.now().strftime(TIMESTAMP_FORMAT) |
---|
| | 33 | sweet['created'] = datetime.utcnow().strftime(TIMESTAMP_FORMAT) | 34 | else: | 34 | else: |
---|
35 | return False | 35 | return False |
---|
36 | return sweet_list | 36 | return sweet_list |
---|