When you completely discharge a MacBook with an M1 processor and the device runs out of power, it will lose the date and time on the next boot.
Normally there is a backup battery on a mainboard, which keeps the time and date in such a case. I cannot yet say what Apple has done here exactly and why the problem occurs. But I have a solution for you.
I recently faced the same problem and tried to set the Mac to automatic date and time setting via System Preferences > Date & Time.
Unfortunately, this does not seem to work under macOS Monterey (12.4). I have received a workaround from Apple Support to set the time and date correctly again via the automatic adjustment.
/var/db
timed
right click and "Get Info", set permissions to "Allow read write access to everyone"timed
folder and remove the following config file: com.apple.timed.plist
You should now have a correct and working auto date and time setting for your M1 MacBook Pro.