Skip to content

Commit

Permalink
One more fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoquick committed Nov 13, 2023
1 parent 1db840d commit 2d7ae05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/carbonado/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub fn metrics(dir: &Path) -> Result<MetricsResponse> {
let entry = entry?;
let filename = entry.file_name().to_string_lossy().to_string();
let metadata = entry.metadata()?;
let day_created = metadata.modified()?; // TODO: .created();
let day_created = metadata.created()?;
let day = round_datetime_to_day(day_created.into());

if metadata.is_file() {
Expand Down

0 comments on commit 2d7ae05

Please sign in to comment.