rtc_session: make timestamp printable

Issue #3438.
This commit is contained in:
Josef Söntgen 2019-03-10 21:17:32 +01:00 committed by Christian Helmuth
parent 22d7871e1d
commit 91ce57848c

View File

@ -35,6 +35,12 @@ struct Rtc::Timestamp
unsigned day;
unsigned month;
unsigned year;
void print(Genode::Output &out) const
{
Genode::print(out, year, "-", month, "-", day, " ",
hour, ":", minute, ":", second);
}
};