Nextcloud sync errors with the macOS client for the M1 chip

Nextcloud version: 22.2.3
Operating system and version: Ubuntu 20.0.4
Caddy version: 2
PHP version: 8.0
Desktop Client: 3.4.1 for macOS (M1 chip)

The issue you are facing:
Some files will not sync correctly, when viewing in the browser they have a modified date of over 50 years ago.

Is this the first time you’ve seen this error?: Yes, this error started since we starting to use the macOS sync client for the M1 platform

Steps to replicate it:

  1. install macos sync client for the M1 platform
  2. initiate a sync cycle
  3. look in the browser

The other logs etc show nothing special.