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

X2-10221 | fixed datepicker for specific case #336

Merged
merged 5 commits into from
Aug 2, 2024

Conversation

VitalyDevico
Copy link
Contributor

No description provided.

@@ -145,12 +145,22 @@ export const DatePicker = ({
const to = toDate(now(day, timezoneName).endOf("day"), false);

onChange({ from, to }, options, event);
} else {
} else if (DateUtils.isDayBefore(value.from, toDate(now(day, timezoneName)))) {
onChange(
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a one line comment for this condition. Same as what you've done below.

@ranjantanya ranjantanya merged commit b7d4d06 into xola:master Aug 2, 2024
2 checks passed
rushi added a commit to rushi/ui-kit that referenced this pull request Sep 20, 2024
# By Manoj Vaibhav (18) and others
# Via GitHub (10) and others
* 'master' of github.com:xola/ui-kit: (98 commits)
  XS-414 weekdays bug fix and removed unnecessary console log (xola#348)
  XS-30 | Multi language support - Xola app content (xola#334)
  Do not checkout & run workflow if user is not in Xola (xola#347)
  Explicitly specify GITHUB_TOKEN
  Set `permissions` on eslint.yml workflow
  Use default token
  Update token for eslint annotate
  2.3.12
  Update eslint.yml
  X2-10410 Dashboard search overlap issue fix (xola#342)
  2.3.11
  X2-10394 Cannot filter by date range in Purchases tab for seller (xola#341)
  2.3.10
  Update to use  event
  X2-10221 | fixed datepicker for specific case (xola#336)
  X2-9433 Breakdown Item line fix (xola#337)
  2.3.8
  X2-10131 Mobile browser: The page refreshes when you try to select a message template in the Send a Message pop-up if zoomed in (xola#333)
  2.3.7
  X2-9962 Lazy mounting for popovers for performance (xola#330)
  ...

# Conflicts:
#	.github/workflows/deploy.yml
#	.xo-config.json
#	package-lock.json
#	package.json
#	src/components/Forms/BaseInput.jsx
#	src/helpers/browser.js
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.

3 participants