Open quxup opened 2 years ago
compiled from other fork, it shows 24h. compiled version and source is in my repo https://github.com/gymka/elder_launcher
@gymka, the fork's DateTimeProvider is unchanged from the original source code. The time is formatted per device locale, so on a lot of devices this should give the right result.
void _updateDateTime() {
_time = DateFormat.jm().format(DateTime.now());
_date = DateFormat.MMMMEEEEd().format(DateTime.now());
notifyListeners();
}
However, either due to Flutter, Device or an issue in some other layer the incorrect formatting is received. So for such scenarios there is a case to be made to show it in an Elder Launcher settings page.
Hello Arjunsinh Jadeja!
Most launchers pick time format up automatically (and change AM/PM or 24h format themselves). I live in Europe and we're using the 24h format here as well (is is most of the world). Would it be possible to give the user an option to switch between time formats or just make it automatic (based on system settings)?
I think the automatic solution would fit well with the ethos of Elder Launcher (simplicity, which is aimed at elder users).
All the best to you! :)
Jaak