Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AM/PM Merged, Updated, Fixed #54

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

rdev-software
Copy link

@rdev-software rdev-software commented Sep 29, 2019

Adding AM/PM feature to time picker and datetime picker
#35

Used code from PR #49
Retested, Added missing features and fixed some bugs with datetime picker

JamesMcIntosh and others added 3 commits September 7, 2019 02:13
Merge branch 'ampm' of https://github.com/JamesMcIntosh/flutter-cupertino-date-picker

# Conflicts:
#	lib/src/widget/datetime_picker_widget.dart
#	lib/src/widget/time_picker_widget.dart
@jamesdixon
Copy link

@dylanwuzh can we get this merged? 👍

@jamesdixon
Copy link

@rdev-software I'm seeing an issue where when I attempt to scroll any of the wheels, the hours disappear. See video here: https://share.getcloudapp.com/nOumbNvl

Here's the code I'm using:

DatePicker.showDatePicker(
          context,
          initialDateTime: initialValue,
          dateFormat: 'MMM dd, yyyy|hh|mm|a',
          minDateTime: DateTime.now(),
          pickerMode: DateTimePickerMode.datetime,
          onConfirm: (v, _) {
            selectedDateTime = v;
            controller.text = formatDateTime(v);
            Vibrate.feedback(FeedbackType.success);
          },
        );

Are you experiencing this?

@jamesdixon
Copy link

If I change the dateFormat to use 24 hour (HH), it works as expected.

@carlleeswanson
Copy link

Would love to see this merged and available soon. Thanks for the enhancement!

Tomas Radvansky added 2 commits June 17, 2020 10:09
@hinterlandcreative
Copy link

@dylanwuzh Can this get merged?

This removes DiagnosticableMixin, since it is a duplicate implementation of Diagnosticable. It existed in order to support plugins that wanted to support both master and stable, but now Diagnosticable is a mixin on stable, so we don't need it anymore.
@rjtubera
Copy link

Hi is this implemented in the production?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants