Verified Commit baa91e32 authored by Ole Martin Ruud's avatar Ole Martin Ruud
Browse files

Fix formatting of timeslot

parent f822308a
......@@ -185,8 +185,8 @@ fn run() -> Result<()> {
eprintln!(
"AVALIABLE ROOMS ({} {} for {}):",
day.format(DATE_FORMAT),
hour.format(HOUR_FORMAT),
day.format(DATE_FORMAT),
duration.format(HOUR_FORMAT)
);
rooms.0.iter().for_each(|room| {
......@@ -220,7 +220,10 @@ fn run() -> Result<()> {
eprintln!(
"Successfully ordered room {} at {} {} for {}",
room, hour, day, duration
room,
hour.format(HOUR_FORMAT),
day.format(DATE_FORMAT),
duration.format(HOUR_FORMAT)
);
Ok(())
......
Supports Markdown
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