Verified Commit f5c2551c authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix hours issue

parent 9f1738b6
Pipeline #32014 passed with stages
in 34 seconds
apiVersion: v2
name: dummy-app-char
name: dummy-app
description: A helm chart for the Dummy App
type: application
version: 0.0.0
......
......@@ -4,7 +4,7 @@ fn main() {
let now = SystemTime::now();
loop {
if let Ok(elapsed) = &now.elapsed() {
let hours = elapsed.as_secs() % 3600;
let hours = elapsed.as_secs() / 3600;
println!(
"App running for {} hour{}",
hours,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment