mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[DateTimeWidget] add key_events and fix setting dates (#13214)
This commit is contained in:
@@ -192,7 +192,7 @@ if Device:setDateTime() then
|
||||
day = curr_day,
|
||||
ok_text = _("Set date"),
|
||||
title_text = _("Set date"),
|
||||
info_text = _("Date is in years, months and days."),
|
||||
info_text = _("The date format is year, month, day."),
|
||||
callback = function(time)
|
||||
now_t = os.date("*t")
|
||||
if Device:setDateTime(time.year, time.month, time.day, now_t.hour, now_t.min, now_t.sec) then
|
||||
|
||||
Reference in New Issue
Block a user