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

Wrong value on intervals #20

Open
rafaellage opened this issue Nov 4, 2016 · 2 comments
Open

Wrong value on intervals #20

rafaellage opened this issue Nov 4, 2016 · 2 comments

Comments

@rafaellage
Copy link

Here`s what happening, im using intervals of 15 min, the real time is between 18:00-18:15, its the time i did the test. When i select the interval 18:00 the picker returns the real time instead of the selected. Example: Real Time 18:04. Selected Time: 18:00, Returned Time: 18:04.

Any ideas of what is happening?

@Busta117
Copy link
Owner

Busta117 commented Nov 4, 2016

Hi there

can you please provide more info about how are you using the piker? in order to reproduce and fix it

thanks

@rafaellage
Copy link
Author

Here's my code, do you need anything else?

SBPickerSelector *pickerSelector = [SBPickerSelector picker];
pickerSelector.delegate = self;
pickerSelector.pickerType = SBPickerSelectorTypeDate;
pickerSelector.datePickerType = SBPickerSelectorDateTypeOnlyHour;
pickerSelector.cancelButtonTitle = @"Cancelar";
pickerSelector.doneButtonTitle = @"Concluir";
pickerSelector.datePickerView.minuteInterval = 15;
pickerSelector.datePickerView.minimumDate = nil;
[pickerSelector showPickerOver:self];

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

No branches or pull requests

2 participants