This is most likely due to the difference between when you created the file locally and when the file was actually uploaded to the cloud (OneDrive). There may be a difference in times as the file was created at a different time on OneDrive itself versus your device.
The only thing I can really think of is there may have been a delay or a requirement for you to sign-in to sync your files.
------------------------------------------
If this is helpful please accept answer.