~nickbp/kapiti

248adadfd95d9d258ac758c08a8370cf7c47991e — Nick Parker 1 year, 7 months ago 99b7326
Fix deprecation notices
1 files changed, 4 insertions(+), 4 deletions(-)

M src/filter/updater.rs
M src/filter/updater.rs => src/filter/updater.rs +4 -4
@@ 154,8 154,8 @@ async fn file_needs_update(
        Ok(url_mtime_header) => {
            if level_enabled!(Level::DEBUG) {
                debug!(
                    "Existing file mtime='{}' vs {} Last-Modified='{}'",
                    NaiveDateTime::from_timestamp(file_mtime_ms / 1000, 0),
                    "Existing file mtime='{:?}' vs {} Last-Modified='{}'",
                    NaiveDateTime::from_timestamp_opt(file_mtime_ms / 1000, 0),
                    url,
                    url_mtime_header
                );


@@ 179,8 179,8 @@ async fn file_needs_update(
        (Ok(url_date_header), Ok(url_expires_header)) => {
            if level_enabled!(Level::DEBUG) {
                debug!(
                    "Existing file mtime='{}' vs {} Date='{}' + Expires='{}'",
                    NaiveDateTime::from_timestamp(file_mtime_ms / 1000, 0),
                    "Existing file mtime='{:?}' vs {} Date='{}' + Expires='{}'",
                    NaiveDateTime::from_timestamp_opt(file_mtime_ms / 1000, 0),
                    url,
                    url_date_header,
                    url_expires_header