mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Fix SD capture remaining time formatting -- zero pad minutes.
This commit is contained in:
parent
46d4c919fb
commit
e298e1ec5a
@ -258,7 +258,7 @@ void RecordView::on_tick_second() {
|
||||
const uint32_t hours = available_minutes / 60;
|
||||
const std::string available_time =
|
||||
to_string_dec_uint(hours, 3, ' ') + ":" +
|
||||
to_string_dec_uint(minutes, 2, ' ') + ":" +
|
||||
to_string_dec_uint(minutes, 2, '0') + ":" +
|
||||
to_string_dec_uint(seconds, 2, '0');
|
||||
text_time_available.set(available_time);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user