Trying very hard not to miss calendar events
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Removed pointless unsafe

Co-authored-by: Claude <noreply@anthropic.com>

+4 -1
+4 -1
src/main.rs
··· 55 55 } 56 56 }; 57 57 58 - let now = unsafe { libc::time(std::ptr::null_mut()) }; 58 + let now = std::time::SystemTime::now() 59 + .duration_since(std::time::UNIX_EPOCH) 60 + .expect("System time is before Unix epoch") 61 + .as_secs() as i64; 59 62 let end_time = now + (60 * 24 * 60 * 60); 60 63 61 64 let sources = match registry.list_sources() {