mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
add time when log meal and nutrition
This commit is contained in:
@@ -63,7 +63,7 @@ class _LogMealScreenState extends State<LogMealScreen> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final dateFormat = DateFormat.yMd(Localizations.localeOf(context).languageCode);
|
||||
final dateFormat = DateFormat.yMd(Localizations.localeOf(context).languageCode).add_Hm();
|
||||
final i18n = AppLocalizations.of(context);
|
||||
|
||||
final args = ModalRoute.of(context)!.settings.arguments as LogMealArguments;
|
||||
|
||||
@@ -227,7 +227,7 @@ class IngredientFormState extends State<IngredientForm> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final dateFormat = DateFormat.yMd(Localizations.localeOf(context).languageCode);
|
||||
final dateFormat = DateFormat.yMd(Localizations.localeOf(context).languageCode).add_Hm();
|
||||
final timeFormat = DateFormat.Hm(Localizations.localeOf(context).languageCode);
|
||||
|
||||
if (_dateController.text.isEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user