the source of the problem might be that you pass in `null` for `$format`.

perhaps adjusting the `newInstance` method so the `$format` param defaults to null and falls back to `Y-m-d H:i:s` when null