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

Phumudzo/fix/1468 #1479

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

nthangeniphumudzo
Copy link
Contributor

@nthangeniphumudzo nthangeniphumudzo commented May 9, 2024

Hi @IvanIlyichev . Please kindly assist with this PR addressing this issue.

My Thinking process here was that the value passed to the DatePicker should always be in ISO 8601 and allow it to be formatted by the pickerFormat.

Please review and advise on this approach.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed localValue since it returning the same date as datesString which is simple to manipulate and format
I thought of retaining it for user manipulation but it eventualklly returns the same date as dateString

Copy link
Contributor

@IvanIlyichev IvanIlyichev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nthangeniphumudzo. As I mentioned earlier we shouldn't convert value to string, it should be stored as moment/date object. Also I realized that the week picker doesn't work

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.

None yet

2 participants