{"record":{"id":"c35a2719a10dddfb","repo":"uutils/coreutils","slug":"getting-clock-resolution-not-implemented-unsuppor","errorCode":null,"errorMessage":"getting clock resolution not implemented (unsupported target)","messagePattern":"getting clock resolution not implemented \\(unsupported target\\)","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/uu/date/src/date.rs","lineNumber":1239,"sourceCode":"                    strtime::format(\"%Y-%m-%d\", &result).unwrap_or_default()\n                );\n                let _ = writeln!(\n                    err,\n                    \"date: parsed time part: {}\",\n                    strtime::format(\"%H:%M:%S\", &result).unwrap_or_default()\n                );\n\n                // Show timezone information\n                let _ = writeln!(err, \"date: input timezone: system default\");\n\n                // Check if time component was specified, if not warn about midnight usage\n                // Only warn for date-only inputs (no time specified), but not for epoch formats (@N)\n                // or inputs that explicitly specify a time (containing ':')\n                if dbg_opts.warn_midnight && !input_str.contains(':') && !input_str.contains('@') {\n                    // Input likely didn't specify a time, so midnight was assumed\n                    let time_str = strtime::format(\"%H:%M:%S\", &result).unwrap_or_default();\n                    if time_str == \"00:00:00\" {\n                        let _ = writeln!(\n                            err,\n                            \"date: warning: using midnight as starting time: 00:00:00\"\n                        );\n                    }\n                }\n            }\n            Ok(ParsedDateTime::InRange(result))\n        }\n        Ok(ParsedDateTime::Extended(date)) if allow_extended => Ok(ParsedDateTime::Extended(date)),\n        Ok(ParsedDateTime::Extended(_)) => Err((\n            input_str.into(),\n            parse_datetime::ParseDateTimeError::InvalidInput,\n        )),\n        Err(e) => Err((input_str.into(), e)),\n    }\n}\n\n#[cfg(not(any(unix, windows)))]","sourceCodeStart":1221,"sourceCodeEnd":1257,"githubUrl":"https://github.com/uutils/coreutils/blob/85295bbf788bfd7a6926ba692031563504b304b7/src/uu/date/src/date.rs#L1221-L1257","documentation":"Error \"getting clock resolution not implemented (unsupported target)\" thrown in uutils/coreutils.","triggerScenarios":"Occurs when date is built for a target platform where querying clock resolution is not implemented.","commonSituations":"Running date on an unsupported or exotic target OS/architecture where the clock_getres equivalent is unavailable.","solutions":["Run on a platform where clock_getres is supported, or build without the resolution feature on this target.","Treat the resolution as unavailable and skip options that require it."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"85295bbf788bfd7a6926ba692031563504b304b7","analyzedAt":"2026-08-19T21:43:27.871Z","contentChangedAt":"2026-08-19T21:43:27.871Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}