UX: improves existing date-time-inputs (PR #9498)

GitHub

Could be simplified to:

return { hours: Math.floor(num / 60), minutes: num % 60 }

Some minor notes!

This is a bit unusual. An underscore implies it’s a private API yet it’s used in the template? I recommend a different name.

Looks like some missing translations here: “Set time…”