close
The Wayback Machine - https://web.archive.org/web/20220709030853/https://github.com/topics/date-fns
Skip to content
#

date-fns

Here are 342 public repositories matching this topic...

andregoldstein
andregoldstein commented Jun 12, 2020

Hi there, thanks for the great work on this library!

Can I just check what is the best way to ensuring the calendar popup is hidden when tabbing out of an input within a <DatePicker /> example?

Currently it's remaining open when I'm tabbing from one form item to another.

Thanks!

bug good first issue
hazem3500
hazem3500 commented Oct 6, 2020

isSameMonth method returns true even if two dates aren't in the same Hijri month

const date1 = hijri.date("10/06/2020");
const date2 = hijri.addHours(date1, 13 * 24);

  date1.format("iYYYY/iM/iD") // 1442/2/19
date2.format("iYYYY/iM/iD") // 1442/3/2
hijri.isSameMonth(date1, date2) // true (it should return false)

Here is a link to reproduce the issue: [link](https://codesan

good first issue

Improve this page

Add a description, image, and links to the date-fns topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the date-fns topic, visit your repo's landing page and select "manage topics."

Learn more