<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rushil</title>
    <description>The latest articles on DEV Community by Rushil (@rushil).</description>
    <link>https://dev.to/rushil</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1269130%2Fc7c820d7-5801-4ba1-9615-2ce20562e32d.jpg</url>
      <title>DEV Community: Rushil</title>
      <link>https://dev.to/rushil</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rushil"/>
    <language>en</language>
    <item>
      <title>DateRangePicker of react-dates package</title>
      <dc:creator>Rushil</dc:creator>
      <pubDate>Wed, 21 Feb 2024 09:31:19 +0000</pubDate>
      <link>https://dev.to/rushil/daterangepicker-of-react-dates-package-2p29</link>
      <guid>https://dev.to/rushil/daterangepicker-of-react-dates-package-2p29</guid>
      <description>&lt;p&gt;{/&lt;em&gt;Issue: When we select one date of both side startDate and endDate than data is not rendering for one day.&lt;/em&gt;/}&lt;/p&gt;

&lt;p&gt;import { DateRangePicker } from 'react-dates';&lt;br&gt;
import 'react-dates/lib/css/_datepicker.css';&lt;br&gt;

          startDate={startDate}&lt;br&gt;
          startDateId="s_id"&lt;br&gt;
          endDate={endDate}&lt;br&gt;
          endDateId="e_id"&lt;br&gt;
          onDatesChange={({ startDate, endDate }) =&amp;gt; {&lt;br&gt;
            this.setState({ startDate, endDate });&lt;br&gt;
          }} &lt;br&gt;
                  focusedInput={focusedInput}&lt;br&gt;
          onFocusChange= {(focusedInput) =&amp;gt; this.setState({ focusedInput })}&lt;br&gt;
          displayFormat="DD/MM/YYYY"&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;      isOutsideRange={(date) =&amp;gt;
      date.isBefore(moment('2020-04-20')) || date.isAfter(moment().endOf('day'))
      }
    /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>react</category>
    </item>
  </channel>
</rss>
