Skip to content

Commit

Permalink
Fix created date format
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Nov 14, 2024
1 parent 6a3eea9 commit d686b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pretalx_salesforce/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class SubmissionSalesforceSync(models.Model):

def serialize(self):
return {
"CreatedDate": self.submission.created.isoformat(),
"CreatedDate": self.submission.created.strftime("%Y-%m-%dT%H:%M:%SZ"),
"pretalx_LegacyID__c": self.submission.code,
"Name": ellipsis(self.submission.title, 80),
"Track__c": str(self.submission.track.name),
Expand Down

0 comments on commit d686b2d

Please sign in to comment.