Zum Inhalt der Seite gehen


hey @Friendica Support

I have a warning in the logs that seems not to be a problem of friendica but to my mysql configuration. Or is something wrong here with the code?

DateTimeFormat::convert: exception: DateTime::__construct(): Failed to parse time string (2023-03-29T12:31:21.121473646Z) at position 0 (2): The timezone could not be found in the database

Friendica Support hat dies geteilt.

Als Antwort auf Matthias Moritz

@Matthias Moritz 2023-03-29T12:31:21.121473646Z isn't a valid date/time format because of the amount of decimals of the seconds number. We've been adding local fixes for a number of invalid date/time strings and this warning has been useful collecting them in the first place.

However, it doesn't impact Friendica's working much, we just replace invalid date/time string with the current timestamp. It could theoretically show that a post was created later than it actually was, but it isn't technically critical.

Dieser Beitrag wurde bearbeitet. (1 Jahr her)

Friendica Support hat dies geteilt.