Merge af241797df
into 72fa575fee
This commit is contained in:
commit
62b90f5d01
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ func (db *datastore) UpdateOwnedPost(post *AuthenticatedPost, userID int64) erro
|
||||||
params = append(params, post.Font)
|
params = append(params, post.Font)
|
||||||
}
|
}
|
||||||
if post.Created != nil {
|
if post.Created != nil {
|
||||||
createTime, err := time.Parse(postMetaDateFormat, *post.Created)
|
createTime, err := time.Parse("2006-01-02T15:04:05Z", *post.Created)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("Unable to parse Created date: %v", err)
|
log.Error("Unable to parse Created date: %v", err)
|
||||||
return fmt.Errorf("That's the incorrect format for Created date.")
|
return fmt.Errorf("That's the incorrect format for Created date.")
|
||||||
|
|
Loading…
Add table
Reference in a new issue