datetime: Update diagnostic to use DiagnosticCheck class

This was missed when updating the other diagnostics. (It doesn't apply when running in a container.)

https://salsa.debian.org/freedombox-team/freedombox/-/blob/master/plinth/modules/datetime/__init__.py#L119