update time gadget date string during clock timer

fix T5700
This commit is contained in:
Mike Blumenkrantz 2017-07-14 18:44:22 -04:00
parent 664c3dc468
commit b8bfd9e7af
1 changed files with 2 additions and 0 deletions

View File

@ -199,6 +199,8 @@ _clock_timer(void *d EINA_UNUSED)
seconds |= inst->cfg->show_seconds;
sec = time_string_format(inst, buf, sizeof(buf));
elm_object_part_text_set(inst->o_clock, "e.text", buf);
time_datestring_format(inst, buf, sizeof(buf) - 1);
elm_object_part_text_set(inst->o_clock, "e.text.sub", buf);
_eval_instance_size(inst);
}
sec = seconds ? 1 : (61 - sec);