Function is_recent

Source
fn is_recent(timestamp: i64, now: i64, duration: Duration) -> bool
Expand description

Check if the timestamp is recent.

The timestamp is recent if the difference between the current time and the timestamp is less than the duration.