Don't panic on vintage files (#33543)

Conrad Irwin created

Release Notes:

- remoting: Fix a crash on the remote side when encountering files from
before 1970.

Change summary

crates/proto/src/proto.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/proto/src/proto.rs 🔗

@@ -632,7 +632,7 @@ impl From<Timestamp> for SystemTime {
 
 impl From<SystemTime> for Timestamp {
     fn from(time: SystemTime) -> Self {
-        let duration = time.duration_since(UNIX_EPOCH).unwrap();
+        let duration = time.duration_since(UNIX_EPOCH).unwrap_or_default();
         Self {
             seconds: duration.as_secs(),
             nanos: duration.subsec_nanos(),