Skip to content

Commit

Permalink
sch: offset list elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr committed Aug 23, 2024
1 parent b4f7703 commit dd525f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/espurna/scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ String sunrise_sunset(const sun::EventMatch& match) {
}

void format_output(::terminal::CommandContext& ctx, const String& prefix, const String& value) {
ctx.output.printf_P(PSTR("%s%s%s\n"),
ctx.output.printf_P(PSTR("- %s%s%s\n"),
prefix.c_str(),
value.length()
? PSTR(" at ")
Expand Down Expand Up @@ -973,7 +973,7 @@ void event(::terminal::CommandContext&& ctx) {
}

const auto seconds = to_seconds(entry.time_point);
ctx.output.printf_P(PSTR("\"%s\" at %s\n"),
ctx.output.printf_P(PSTR("- \"%s\" at %s\n"),
entry.name.c_str(),
datetime::format_local_tz(seconds.count()).c_str());

Expand Down

0 comments on commit dd525f1

Please sign in to comment.