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

'onDateTap' not working properly when 'startHour' is set #355

Closed
DonnyDevIT opened this issue May 6, 2024 · 3 comments
Closed

'onDateTap' not working properly when 'startHour' is set #355

DonnyDevIT opened this issue May 6, 2024 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@DonnyDevIT
Copy link

DonnyDevIT commented May 6, 2024

I have an agenda that I set 'startHour: 6' because I want the time to start for 6am

When I click on an empty slot, the date of the click is not right, if I click 6am I get 0am, if I click 7am I get 1am an so on.

So the problem is even if I use 'startHour' in the 'onDateTap' function I have to make a fix for making it kick the right date.

... date = date.add(Duration(hours: 6)); //Fix starting point ...
I added the same value of 'startHour' so the click hour is right. here some images

Screenshot agenda
Screenshot agenda

I click 7am with no fix
I click 7am with no fix

I click 7am with fix
I click 7am with fix

@DonnyDevIT
Copy link
Author

Also the current time bullet is bugged due to that
Screenshot 2024-05-06 alle 14 25 51

@apurva010 apurva010 added the duplicate This issue or pull request already exists label May 7, 2024
@apurva010
Copy link
Collaborator

This issue is duplicate of other one(#341) and it is already fixed in #350. So I am closing this issue.

@DonnyDevIT
Copy link
Author

Ok, I wait for the fix :) May i ask a question? @apurva010 ?

Can you guys implement a 3days view? I really need it and the week view using 3weekdays not works properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants