{
  "id": "task_libraries:date/javascript",
  "path": "/exapedia/javascript-date-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript date libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript date libraries parse, format, and calculate with dates beyond what the built-in Date object offers. These libraries handle the schedules, billing periods, and user-entered dates that web apps track across time zones."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript date libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#date-fns",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F130"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#day-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dthree-time",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#luxon",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#moment",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dateformat",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#fecha",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#internationalized-date",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F260"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#date-fns",
          "label": [
            {
              "t": "fact",
              "fact": "F1"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F2"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Custom-format parsing",
            "Named time zones"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#date-fns",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F130"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#day-js",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F147"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dthree-time",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#luxon",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#moment",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#dateformat",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#fecha",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#internationalized-date",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F260"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F270"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F271"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "date-fns",
          "name": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/date-fns/date-fns"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/date-fns"
            },
            {
              "label": "Docs",
              "href": "https://date-fns.org/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "date-fns is a set of functions for the built-in Date object, in the browser and in Node.js. Each function takes a Date and returns a new one, so the input never changes, and the library never adds methods to Date itself. "
            },
            {
              "t": "code",
              "text": "format"
            },
            {
              "t": "text",
              "text": " turns a date into text from a pattern of Unicode tokens, and "
            },
            {
              "t": "code",
              "text": "compareAsc"
            },
            {
              "t": "text",
              "text": " orders dates for sorting. Every function imports on its own, so a bundler keeps only the functions an app calls. Calculations in a named time zone come from the separate "
            },
            {
              "t": "code",
              "text": "@date-fns/tz"
            },
            {
              "t": "text",
              "text": " package."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F137"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://date-fns.org/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F130"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/react-component/picker",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "const isStrictValidDate = (text: string, format: string, locale: string) => {\n  const date = parse(text, format, locale);\n  if (!isValid(date)) {\n    return false;\n  }\n  const formattedDate = formatDate(date, format, { locale: getLocale(locale) });\n  return text === formattedDate;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/react-component/picker/blob/9ecb0508645e1c0d9f3181263eecafdd1e262f6b/src/generate/dateFns.ts#L65-L72",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20date-fns%20for%20locale-aware%20parsing%2C%20strict%20validation%20and%20time-zone%20calculations&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F130"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { compareAsc, format } from \"date-fns\";\n\nformat(new Date(2014, 1, 11), \"yyyy-MM-dd\");\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/date-fns/date-fns/blob/main/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F135"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "day-js",
          "name": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/iamkun/dayjs"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/dayjs"
            },
            {
              "label": "Docs",
              "href": "https://day.js.org/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Day.js parses, validates, changes, and formats dates through an API that is largely compatible with Moment.js. A call to "
            },
            {
              "t": "code",
              "text": "dayjs()"
            },
            {
              "t": "text",
              "text": " wraps a date in a Day.js object, and methods such as "
            },
            {
              "t": "code",
              "text": "add"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "startOf"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": "format"
            },
            {
              "t": "text",
              "text": " chain onto it. Every change returns a new object rather than editing the existing one. Locales and extra features load as plugins through "
            },
            {
              "t": "code",
              "text": "dayjs.extend"
            },
            {
              "t": "text",
              "text": ", and only the ones an app imports reach its bundle. Parsing a custom format and converting between named time zones both come from plugins."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://day.js.org/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F46"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/react-component/picker",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "(locale, text, formats) => {\n      // Preserve Day.js fallback when the requested locale data is not registered.\n      const localeStr = dayjs().locale(parseLocale(locale)).locale();\n      for (let i = 0; i < formats.length; i += 1) {\n        const format = formats[i];\n        const formatText = text;\n        if (format.includes('wo') || format.includes('Wo')) {\n          // parse Wo\n          const year = formatText.split('-')[0];\n          const weekStr = formatText.split('-')[1];\n          const firstWeek = dayjs(year, 'YYYY').startOf('year').locale(localeStr);\n          for (let j = 0; j <= 52; j += 1) {\n            const nextWeek = firstWeek.add(j, 'week');\n            if (nextWeek.format('Wo') === weekStr) {\n              return nextWeek;\n            }\n          }\n          parseNoMatchNotice();\n          return null;\n        }\n        const date = dayjs(formatText, format, localeStr, true);\n        if (date.isValid()) {\n          return date;\n        }\n      }\n\n      if (text) {\n        parseNoMatchNotice();\n      }\n      return null;\n    }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/react-component/picker/blob/9ecb0508645e1c0d9f3181263eecafdd1e262f6b/src/generate/dayjs.ts#L167-L197",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F162"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20dayjs%20for%20locale-aware%20parsing%2C%20strict%20validation%20and%20time-zone%20calculations&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F147"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const dayjs = require('dayjs')\n//import dayjs from 'dayjs' // ES 2015\ndayjs().format()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/dayjs/dayjs-website/blob/master/docs/installation/node-js.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "node-js.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F152"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "dthree-time",
          "name": [
            {
              "t": "fact",
              "fact": "F165"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/d3/d3-time"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/d3-time"
            },
            {
              "label": "Docs",
              "href": "https://d3js.org/d3-time"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F165"
            },
            {
              "t": "text",
              "text": " does calendar math on top of the built-in Date. It rounds a date to a boundary, counts the boundaries between two dates, and lists them. Each interval, such as day, week, or month, has "
            },
            {
              "t": "code",
              "text": "floor"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "ceil"
            },
            {
              "t": "text",
              "text": ", "
            },
            {
              "t": "code",
              "text": "count"
            },
            {
              "t": "text",
              "text": ", and "
            },
            {
              "t": "code",
              "text": "range"
            },
            {
              "t": "text",
              "text": " methods. Counting days with the day interval stays correct across a daylight saving change, where subtracting timestamps and dividing by the length of a day gives a fraction. The module has no calendar system of its own and ignores leap seconds. Formatting and parsing live in a separate time format module."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://d3js.org/d3-time",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F165"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F296"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F297"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/vega/vega",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "export function localISOWeekYear(d) {\n  return timeDay.offset(timeMonday.floor(d), 3).getFullYear();\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/vega/vega/blob/3f2a7973cb3677621c552e409e99a967fc64bd2b/packages/vega-time/src/util.js#L33-L35",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=d3-time%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F165"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { timeDay } from \"d3-time\";\n\nconst start = new Date(2015, 2, 1);\nconst end = new Date(2015, 3, 1);\nconsole.log(timeDay.count(start, end));\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/d3/d3/blob/main/docs/d3-time.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "time docs"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F170"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "luxon",
          "name": [
            {
              "t": "fact",
              "fact": "F184"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/moment/luxon"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/luxon"
            },
            {
              "label": "Docs",
              "href": "https://moment.github.io/luxon/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Luxon represents time with three immutable types of its own: "
            },
            {
              "t": "code",
              "text": "DateTime"
            },
            {
              "t": "text",
              "text": " for a moment, "
            },
            {
              "t": "code",
              "text": "Duration"
            },
            {
              "t": "text",
              "text": " for a length of time, and "
            },
            {
              "t": "code",
              "text": "Interval"
            },
            {
              "t": "text",
              "text": " for the span between two moments. Methods chain, so "
            },
            {
              "t": "code",
              "text": "DateTime.now().setZone('America/New_York')"
            },
            {
              "t": "text",
              "text": " moves the current time into that zone and later calls build on the result. Time zones and locales come from the runtime's Intl API, so the package ships no zone or locale files. "
            },
            {
              "t": "code",
              "text": "DateTime.fromFormat"
            },
            {
              "t": "text",
              "text": " parses text against a custom format, and "
            },
            {
              "t": "code",
              "text": "toISO"
            },
            {
              "t": "text",
              "text": " writes a DateTime back out as an ISO string."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://moment.github.io/luxon/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F69"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F70"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F71"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F72"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/react-component/picker",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F199"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "(locale, date, format) => {\n      if (!date || !date.isValid) {\n        return null;\n      }\n\n      return date.setLocale(normalizeLocale(locale)).toFormat(normalizeFormat(format));\n    }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/react-component/picker/blob/9ecb0508645e1c0d9f3181263eecafdd1e262f6b/src/generate/luxon.ts#L114-L120",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F198"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20luxon%20for%20locale-aware%20parsing%2C%20strict%20validation%20and%20time-zone%20calculations&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { DateTime } from \"luxon\";\n\nconsole.log(DateTime.now().toISO());\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/moment/luxon/blob/master/docs/install.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "install.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "moment",
          "name": [
            {
              "t": "fact",
              "fact": "F201"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/moment/moment"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/moment"
            },
            {
              "label": "Docs",
              "href": "https://momentjs.com/docs/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Moment.js parses, validates, changes, and formats dates through a "
            },
            {
              "t": "code",
              "text": "moment"
            },
            {
              "t": "text",
              "text": " object that wraps a Date. It runs in browsers and in Node.js. Format strings use tokens such as "
            },
            {
              "t": "code",
              "text": "YYYY-MM-DD"
            },
            {
              "t": "text",
              "text": ", and parsing accepts a format and a locale. Named time zones come from the separate moment-timezone package and its zone data. The project is in maintenance mode and accepts no new features."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://momentjs.com/docs/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F201"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F298"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F299"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/react-component/picker",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "(date) => {\n    const clone = date.clone().locale('en_US');\n    return clone.weekday() + clone.localeData().firstDayOfWeek();\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/react-component/picker/blob/9ecb0508645e1c0d9f3181263eecafdd1e262f6b/src/generate/moment.ts#L14-L17",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F218"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=moment%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F201"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "const moment = require('moment');\n\nmoment().format();\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/moment/momentjs.com/blob/master/docs/moment/00-use-it/01-node-js.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "node-js.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F206"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "dateformat",
          "name": [
            {
              "t": "fact",
              "fact": "F221"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/felixge/node-dateformat"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/dateformat"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "dateformat turns a Date into text from a mask, a pattern of letters such as "
            },
            {
              "t": "code",
              "text": "dddd, mmmm dS, yyyy"
            },
            {
              "t": "text",
              "text": ". Named masks cover common layouts, among them "
            },
            {
              "t": "code",
              "text": "isoDateTime"
            },
            {
              "t": "text",
              "text": " and "
            },
            {
              "t": "code",
              "text": "fullDate"
            },
            {
              "t": "text",
              "text": ", and new ones can be added to the exported "
            },
            {
              "t": "code",
              "text": "masks"
            },
            {
              "t": "text",
              "text": " object. Passing "
            },
            {
              "t": "code",
              "text": "true"
            },
            {
              "t": "text",
              "text": " as a third argument, or starting a mask with "
            },
            {
              "t": "code",
              "text": "UTC:"
            },
            {
              "t": "text",
              "text": ", prints the time in UTC. The package formats only and has no function for parsing text back into a Date. It also installs a "
            },
            {
              "t": "code",
              "text": "dateformat"
            },
            {
              "t": "text",
              "text": " command for the terminal."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/felixge/node-dateformat",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F221"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/appium/appium",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "function timestamp () {\n  let date = new Date();\n  if (!timeZone) {\n    date = new Date(date.valueOf() + date.getTimezoneOffset() * 60000);\n  }\n  return dateformat(date, \"yyyy-mm-dd HH:MM:ss:l\");\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/appium/appium/blob/bc358d31b93cd1ce4b922e51634263adacc54c15/lib/logsink.js#L40-L46",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=dateformat%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F221"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import dateFormat, { masks } from \"dateformat\";\nconst now = new Date();\n\n// Basic usage\ndateFormat(now, \"dddd, mmmm dS, yyyy, h:MM:ss TT\");\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/felixge/node-dateformat/blob/master/Readme.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "Readme.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "fecha",
          "name": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/taylorhakes/fecha"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/fecha"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "Fecha formats and parses dates and leaves out date arithmetic, as a replacement for the formatting and parsing parts of Moment.js. "
            },
            {
              "t": "code",
              "text": "format"
            },
            {
              "t": "text",
              "text": " takes a Date or a timestamp and a format string such as "
            },
            {
              "t": "code",
              "text": "dddd MMMM Do, YYYY"
            },
            {
              "t": "text",
              "text": ", and returns text. Named formats such as "
            },
            {
              "t": "code",
              "text": "isoDate"
            },
            {
              "t": "text",
              "text": " and "
            },
            {
              "t": "code",
              "text": "mediumDate"
            },
            {
              "t": "text",
              "text": " are built in. "
            },
            {
              "t": "code",
              "text": "parse"
            },
            {
              "t": "text",
              "text": " reads a string against a required format and returns a Date or null."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/taylorhakes/fecha",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F300"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F301"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/benitolopez/hotel-datepicker",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F258"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "parseDisabledDates() {\n    // Sort disabled dates and store it in property\n    const _tmp = [];\n    this.setFechaI18n();\n    for (let i = 0; i < this.disabledDates.length; i++) {\n        _tmp[i] = fecha.parse(this.disabledDates[i], \"YYYY-MM-DD\");\n    }\n\n    _tmp.sort((a, b) => {\n        return a - b;\n    });\n\n    this.disabledDatesTime = _tmp;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/benitolopez/hotel-datepicker/blob/5cc8e0def9c0f96fbcea19840a3a61a98ee05c78/src/js/hotel-datepicker.js#L2552-L2565",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F257"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=fecha%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { format } from 'fecha';\n\nformat(new Date(2015, 10, 20), 'dddd MMMM Do, YYYY'); // 'Friday November 20th, 2015'\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/taylorhakes/fecha/blob/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F245"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "internationalized-date",
          "name": [
            {
              "t": "fact",
              "fact": "F260"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/adobe/react-spectrum"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@internationalized/date"
            },
            {
              "label": "Docs",
              "href": "https://react-spectrum.adobe.com/internationalized/date/"
            }
          ],
          "what": [
            {
              "t": "text",
              "text": "@internationalized/date represents dates and times with immutable objects tied to a calendar system. "
            },
            {
              "t": "code",
              "text": "CalendarDate"
            },
            {
              "t": "text",
              "text": " holds a date with no time, "
            },
            {
              "t": "code",
              "text": "CalendarDateTime"
            },
            {
              "t": "text",
              "text": " adds a time without a zone, and "
            },
            {
              "t": "code",
              "text": "ZonedDateTime"
            },
            {
              "t": "text",
              "text": " holds a date and time in a specific time zone. The package supports thirteen calendar systems, including Gregorian, Buddhist, Islamic, and Persian, and converts values between calendars, time zones, and strings. Operations that could be ambiguous, such as arithmetic across a daylight saving change, resolve the ambiguity explicitly. The design follows Temporal, the date API proposed for JavaScript itself."
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F263"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://react-spectrum.adobe.com/internationalized/date/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F260"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F278"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F279"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/chakra-ui/zag",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F278"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "function createRegex(locale: string, timeZone: string) {\n  const formatter = new DateFormatter(locale, { day: \"numeric\", month: \"numeric\", year: \"numeric\", timeZone })\n  const parts = formatter.formatToParts(new Date(2000, 11, 25))\n  return parts.map(({ type, value }) => (type === \"literal\" ? `${value}?` : `((?!=<${type}>)\\\\d+)?`)).join(\"\")\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/chakra-ui/zag/blob/f6f33ea8dc5017baec830f71c2b835a36db196ed/packages/utilities/date-utils/src/parse-date.ts#L39-L43",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F277"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40internationalized/date%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F260"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import {CalendarDate, startOfWeek} from '@internationalized/date';\n\nlet date = new CalendarDate(2022, 2, 3);\ndate = date.add({weeks: 1});\ndate = startOfWeek(date, 'en-US');\ndate.toString(); // 2022-02-06\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/adobe/react-spectrum/blob/main/packages/@internationalized/date/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F265"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which JavaScript date library should I use?",
      "a": [
        {
          "t": "text",
          "text": "For functions that work on native Date values, use "
        },
        {
          "t": "link",
          "href": "#date-fns",
          "label": [
            {
              "t": "text",
              "text": "date-fns"
            }
          ]
        },
        {
          "t": "text",
          "text": ". For a chainable API that matches Moment.js, use "
        },
        {
          "t": "link",
          "href": "#day-js",
          "label": [
            {
              "t": "text",
              "text": "Day.js"
            }
          ]
        },
        {
          "t": "text",
          "text": ". For named time zones, durations, and intervals in the core package, use "
        },
        {
          "t": "link",
          "href": "#luxon",
          "label": [
            {
              "t": "text",
              "text": "Luxon"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and for calendars other than Gregorian, use "
        },
        {
          "t": "link",
          "href": "#internationalized-date",
          "label": [
            {
              "t": "text",
              "text": "@internationalized/date"
            }
          ]
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "q": "How do I format a date in JavaScript?",
      "a": [
        {
          "t": "text",
          "text": "With "
        },
        {
          "t": "link",
          "href": "#date-fns",
          "label": [
            {
              "t": "text",
              "text": "date-fns"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "code",
          "text": "format(date, 'yyyy-MM-dd')"
        },
        {
          "t": "text",
          "text": " returns the date as text in that pattern. "
        },
        {
          "t": "link",
          "href": "#day-js",
          "label": [
            {
              "t": "text",
              "text": "Day.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " chains the same step as "
        },
        {
          "t": "code",
          "text": "dayjs(date).format('YYYY-MM-DD')"
        },
        {
          "t": "text",
          "text": ". Without a library, "
        },
        {
          "t": "code",
          "text": "Intl.DateTimeFormat"
        },
        {
          "t": "text",
          "text": " formats a Date for a locale but takes no custom pattern."
        }
      ]
    },
    {
      "q": "Day.js vs date-fns: what is the difference?",
      "a": [
        {
          "t": "link",
          "href": "#day-js",
          "label": [
            {
              "t": "text",
              "text": "Day.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " wraps each date in its own object and chains methods in the style of Moment.js. "
        },
        {
          "t": "link",
          "href": "#date-fns",
          "label": [
            {
              "t": "text",
              "text": "date-fns"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a set of separate functions that take and return native Date values, so a bundler keeps only the functions an app imports. Both return a new value instead of changing the original."
        }
      ]
    },
    {
      "q": "Luxon vs date-fns: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#luxon",
          "label": [
            {
              "t": "text",
              "text": "Luxon"
            }
          ]
        },
        {
          "t": "text",
          "text": " has its own DateTime, Duration, and Interval types and handles named time zones in the core package through the runtime's Intl API. "
        },
        {
          "t": "link",
          "href": "#date-fns",
          "label": [
            {
              "t": "text",
              "text": "date-fns"
            }
          ]
        },
        {
          "t": "text",
          "text": " works on native Date values and adds time zone calculations through the separate @date-fns/tz package."
        }
      ]
    },
    {
      "q": "Day.js vs Moment.js: what changed?",
      "a": [
        {
          "t": "link",
          "href": "#day-js",
          "label": [
            {
              "t": "text",
              "text": "Day.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " copies most of the Moment.js API, so most Moment code reads the same. Day.js returns a new object on every change, and its locales and extra features load as plugins. "
        },
        {
          "t": "link",
          "href": "#moment",
          "label": [
            {
              "t": "text",
              "text": "Moment.js"
            }
          ]
        },
        {
          "t": "text",
          "text": " is in maintenance mode and accepts no new features."
        }
      ]
    },
    {
      "q": "How do time zones work in date-fns?",
      "a": [
        {
          "t": "text",
          "text": "Install @date-fns/tz. Its "
        },
        {
          "t": "code",
          "text": "TZDate"
        },
        {
          "t": "text",
          "text": " class extends Date and performs every calculation in a given time zone rather than the system zone, so date-fns functions accept it like any other Date."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, date-fns",
      "display": "date-fns",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, date-fns",
      "display": "466.2M",
      "asOf": "2026-11-14"
    },
    "F3": {
      "label": "License, date-fns",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, date-fns",
      "display": "4.4.0",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, date-fns",
      "display": "v4.4.0",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, date-fns",
      "display": "36.7K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Date parsing, date-fns",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Time zones, date-fns",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Durations, date-fns",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Locales, date-fns",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, date-fns",
      "display": "npm install date-fns",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, date-fns",
      "display": "date-fns is a set of functions for the built-in Date object, in the browser and in Node.js. Each function takes a Date and returns a new one, so the input never changes, and the library never adds methods to Date itself. format turns a date into text from a pattern of Unicode tokens, and compareAsc orders dates for sorting. Every function imports on its own, so a bundler keeps only the functions an app calls. Calculations in a named time zone come from the separate @date-fns/tz package.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, date-fns",
      "display": "Takes native Date values",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, date-fns",
      "display": "Use date helpers without converting values into a wrapper object.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, date-fns",
      "display": "Supports selective imports",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, date-fns",
      "display": "Import the helpers and locales that the application needs.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, date-fns",
      "display": "Time zones need another package",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, date-fns",
      "display": "Install @date-fns/tz for calculations in a selected time zone.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, date-fns",
      "display": "Format tokens differ from Moment",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, date-fns",
      "display": "format and parse use Unicode tokens, so a Moment string such as YYYY-MM-DD becomes yyyy-MM-dd.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, date-fns",
      "display": "import { compareAsc, format } from \"date-fns\";\n\nformat(new Date(2014, 1, 11), \"yyyy-MM-dd\");\n//=> '2014-02-11'\n\nconst dates = [\n  new Date(1995, 6, 2),\n  new Date(1987, 1, 11),\n  new Date(1989, 6, 10),\n];\ndates.sort(compareAsc);\n//=> [\n//   Wed Feb 11 1987 00:00:00,\n//   Mon Jul 10 1989 00:00:00,\n//   Sun Jul 02 1995 00:00:00\n// ]\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, date-fns",
      "display": "const isStrictValidDate = (text: string, format: string, locale: string) => {\n  const date = parse(text, format, locale);\n  if (!isValid(date)) {\n    return false;\n  }\n  const formattedDate = formatDate(date, format, { locale: getLocale(locale) });\n  return text === formattedDate;\n}\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, date-fns",
      "display": "dateFns.ts · isStrictValidDate()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, date-fns",
      "display": "react-component/picker",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, react-component/picker",
      "display": "306",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, react-component/picker",
      "display": "Nov 2026",
      "asOf": "2026-11-03"
    },
    "F27": {
      "label": "Library name, dayjs",
      "display": "Day.js",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, dayjs",
      "display": "417.2M",
      "asOf": "2026-11-14"
    },
    "F29": {
      "label": "License, dayjs",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, dayjs",
      "display": "1.11.23",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Undated package release, dayjs",
      "display": "v1.11.23",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Repository stars, dayjs",
      "display": "48.6K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Date parsing, dayjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Time zones, dayjs",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Durations, dayjs",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Locales, dayjs",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Install, dayjs",
      "display": "npm install dayjs",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "What it does, dayjs",
      "display": "Day.js parses, validates, changes, and formats dates through an API that is largely compatible with Moment.js. A call to dayjs() wraps a date in a Day.js object, and methods such as add, startOf, and format chain onto it. Every change returns a new object rather than editing the existing one. Locales and extra features load as plugins through dayjs.extend, and only the ones an app imports reach its bundle. Parsing a custom format and converting between named time zones both come from plugins.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, dayjs",
      "display": "Follows the Moment.js API",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, dayjs",
      "display": "Chain parsing, date changes, and formatting through a similar API.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths lead, dayjs",
      "display": "Keeps date operations immutable",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths, dayjs",
      "display": "Receive a new Day.js instance when changing a date.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, dayjs",
      "display": "Strict validation needs a plugin",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, dayjs",
      "display": "Enable CustomParseFormat and pass the input format plus strict flag.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations lead, dayjs",
      "display": "Default zone reaches tz calls only",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "limitations, dayjs",
      "display": "dayjs() keeps the local time zone after dayjs.tz.setDefault; only dayjs.tz() reads the default.",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Quickstart, dayjs",
      "display": "const dayjs = require('dayjs')\n//import dayjs from 'dayjs' // ES 2015\ndayjs().format()\n\n\ndayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss');\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function, dayjs",
      "display": "(locale, text, formats) => {\n      // Preserve Day.js fallback when the requested locale data is not registered.\n      const localeStr = dayjs().locale(parseLocale(locale)).locale();\n      for (let i = 0; i < formats.length; i += 1) {\n        const format = formats[i];\n        const formatText = text;\n        if (format.includes('wo') || format.includes('Wo')) {\n          // parse Wo\n          const year = formatText.split('-')[0];\n          const weekStr = formatText.split('-')[1];\n          const firstWeek = dayjs(year, 'YYYY').startOf('year').locale(localeStr);\n          for (let j = 0; j <= 52; j += 1) {\n            const nextWeek = firstWeek.add(j, 'week');\n            if (nextWeek.format('Wo') === weekStr) {\n              return nextWeek;\n            }\n          }\n          parseNoMatchNotice();\n          return null;\n        }\n        const date = dayjs(formatText, format, localeStr, true);\n        if (date.isValid()) {\n          return date;\n        }\n      }\n\n      if (text) {\n        parseNoMatchNotice();\n      }\n      return null;\n    }\n",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project function reference, dayjs",
      "display": "dayjs.ts · parse()",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project repository, dayjs",
      "display": "react-component/picker",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project stars, react-component/picker",
      "display": "306",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Project push date, react-component/picker",
      "display": "Nov 2026",
      "asOf": "2026-11-03"
    },
    "F53": {
      "label": "Library name, luxon",
      "display": "Luxon",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Monthly downloads, luxon",
      "display": "224.4M",
      "asOf": "2026-11-14"
    },
    "F55": {
      "label": "License, luxon",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Package release, luxon",
      "display": "3.7.2",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Undated package release, luxon",
      "display": "v3.7.2",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Repository stars, luxon",
      "display": "16.5K",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Date parsing, luxon",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Time zones, luxon",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Durations, luxon",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Locales, luxon",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Install, luxon",
      "display": "npm install luxon",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "What it does, luxon",
      "display": "Luxon represents time with three immutable types of its own: DateTime for a moment, Duration for a length of time, and Interval for the span between two moments. Methods chain, so DateTime.now().setZone('America/New_York') moves the current time into that zone and later calls build on the result. Time zones and locales come from the runtime's Intl API, so the package ships no zone or locale files. DateTime.fromFormat parses text against a custom format, and toISO writes a DateTime back out as an ISO string.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, luxon",
      "display": "Includes duration and interval types",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, luxon",
      "display": "Represent elapsed spans and intervals alongside DateTime values.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, luxon",
      "display": "Uses native locale and zones",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, luxon",
      "display": "Use the runtime’s Intl data instead of shipping separate locale files.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, luxon",
      "display": "Custom parsing matches formats strictly",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, luxon",
      "display": "DateTime.fromFormat accepts only text that matches the format exactly.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "limitations lead, luxon",
      "display": "Locale parsing depends on Intl",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "limitations, luxon",
      "display": "Locale-specific format strings come from the runtime's Intl data and can differ between environments.",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Quickstart, luxon",
      "display": "import { DateTime } from \"luxon\";\n\nDateTime.now().setZone(\"America/New_York\").minus({ weeks: 1 }).endOf(\"day\").toISO();\n",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project function, luxon",
      "display": "(locale, date, format) => {\n      if (!date || !date.isValid) {\n        return null;\n      }\n\n      return date.setLocale(normalizeLocale(locale)).toFormat(normalizeFormat(format));\n    }\n",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Project function reference, luxon",
      "display": "luxon.ts · format()",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Project repository, luxon",
      "display": "react-component/picker",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Project stars, react-component/picker",
      "display": "306",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Project push date, react-component/picker",
      "display": "Nov 2026",
      "asOf": "2026-11-03"
    },
    "F79": {
      "label": "Library name, @js-temporal/polyfill",
      "display": "Temporal polyfill",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Monthly downloads, @js-temporal/polyfill",
      "display": "25.6M",
      "asOf": "2026-11-14"
    },
    "F81": {
      "label": "License, @js-temporal/polyfill",
      "display": "ISC",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Package release, @js-temporal/polyfill",
      "display": "0.5.1",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Undated package release, @js-temporal/polyfill",
      "display": "v0.5.1",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Repository stars, @js-temporal/polyfill",
      "display": "797",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "Date parsing, @js-temporal/polyfill",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "Time zones, @js-temporal/polyfill",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "Durations, @js-temporal/polyfill",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Locales, @js-temporal/polyfill",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Install, @js-temporal/polyfill",
      "display": "npm install @js-temporal/polyfill",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "What it does, @js-temporal/polyfill",
      "display": "Provides Temporal as an imported JavaScript polyfill.",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "strengths lead, @js-temporal/polyfill",
      "display": "Models calendar dates explicitly",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "strengths, @js-temporal/polyfill",
      "display": "Use PlainDate for dates that have neither a time nor a zone.",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "strengths lead, @js-temporal/polyfill",
      "display": "Represents calendar and clock durations",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "strengths, @js-temporal/polyfill",
      "display": "Use duration values with years, months, days, and smaller time units.",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "limitations lead, @js-temporal/polyfill",
      "display": "Global Temporal stays unchanged",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "limitations, @js-temporal/polyfill",
      "display": "Import Temporal from the polyfill in every module that uses it.",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "limitations lead, @js-temporal/polyfill",
      "display": "Calendar durations need a reference",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "limitations, @js-temporal/polyfill",
      "display": "Use a starting date when adding durations that contain months or years.",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Quickstart, @js-temporal/polyfill",
      "display": "import { Temporal, Intl, toTemporalInstant } from '@js-temporal/polyfill';\nDate.prototype.toTemporalInstant = toTemporalInstant;\n\n// Year + month + day + hour + minute + second\nconst zdt = Temporal.ZonedDateTime.from({\n  timeZone: \"America/New_York\",\n  year: 2021,\n  month: 7,\n  day: 1,\n  hour: 12,\n  minute: 34,\n  second: 56,\n});\nconsole.log(zdt.toString()); // \"2021-07-01T12:34:56-04:00[America/New_York]\"\n",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need",
      "display": "Helpers around existing Date values",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose date-fns",
      "display": "native Date interoperability",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "helpers around existing Date values",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "When to consider luxon",
      "display": "the task needs dedicated duration and interval objects",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need",
      "display": "Moment-style date operations",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose dayjs",
      "display": "a familiar chainable API",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "moment-style date operations",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "When to consider date-fns",
      "display": "existing native Date values should stay central",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need",
      "display": "Dates, durations, and intervals",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Why choose luxon",
      "display": "dedicated immutable value types",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Developer need in introduction",
      "display": "dates, durations, and intervals",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Developer need",
      "display": "Separate calendar and zoned values",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "Why choose @js-temporal/polyfill",
      "display": "explicit Temporal value categories",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "Developer need in introduction",
      "display": "separate calendar and zoned values",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "When to consider luxon",
      "display": "DateTime, Duration, and Interval objects fit the application",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "Page introduction",
      "display": "JavaScript date libraries let developers work with dates and times.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: What is the best JavaScript date library?",
      "display": "Choose date-fns for helpers around native Date values.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: What is the best JavaScript date library?",
      "display": "Choose Day.js for Moment-style chaining.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: What is the best JavaScript date library?",
      "display": "Choose Luxon for DateTime, Duration, and Interval objects.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: What is the best JavaScript date library?",
      "display": "Temporal separates calendar-only dates from date-times with zones.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: date-fns vs Day.js: what is the main difference?",
      "display": "date-fns works with native Date values and modular helper functions.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: date-fns vs Day.js: what is the main difference?",
      "display": "Day.js exposes a largely Moment-compatible date-manipulation API.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Which JavaScript date libraries support time zones?",
      "display": "date-fns uses @date-fns/tz for calculations in a chosen zone.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Which JavaScript date libraries support time zones?",
      "display": "Day.js adds timezone APIs through its timezone plugin.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Which JavaScript date libraries support time zones?",
      "display": "Luxon DateTime includes zone support.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "FAQ: Which JavaScript date libraries support time zones?",
      "display": "Temporal ZonedDateTime represents an instant together with a zone and calendar.",
      "asOf": "2026-11-17"
    },
    "F126": {
      "label": "FAQ: Why does Day.js accept an invalid calendar date?",
      "display": "The default validity check asks whether the input can be parsed; strict validation also checks the specified format.",
      "asOf": "2026-11-17"
    },
    "F127": {
      "label": "FAQ: Why does Day.js accept an invalid calendar date?",
      "display": "Strict format validation requires CustomParseFormat.",
      "asOf": "2026-11-17"
    },
    "F128": {
      "label": "FAQ: Can I reuse Moment format strings in date-fns?",
      "display": "date-fns format and parse use Unicode tokens; calendar-year and day-of-month tokens differ from common Moment strings.",
      "asOf": "2026-11-17"
    },
    "F129": {
      "label": "FAQ: Does importing the Temporal polyfill create global Temporal?",
      "display": "The polyfill deliberately leaves the global Temporal object unchanged; import its exported Temporal object.",
      "asOf": "2026-11-17"
    },
    "F130": {
      "label": "Library name, date-fns",
      "display": "date-fns",
      "asOf": "2026-11-19"
    },
    "F131": {
      "label": "Monthly downloads, date-fns",
      "display": "469.0M",
      "asOf": "2026-11-19"
    },
    "F132": {
      "label": "License, date-fns",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F133": {
      "label": "Package release, date-fns",
      "display": "4.4.0",
      "asOf": "2026-11-19"
    },
    "F134": {
      "label": "Package release date, date-fns",
      "display": "May 2026",
      "asOf": "2026-11-19"
    },
    "F135": {
      "label": "Install, date-fns",
      "display": "npm install date-fns",
      "asOf": "2026-11-19"
    },
    "F136": {
      "label": "Quickstart, date-fns",
      "display": "import { compareAsc, format } from \"date-fns\";\n\nformat(new Date(2014, 1, 11), \"yyyy-MM-dd\");\n",
      "asOf": "2026-11-19"
    },
    "F137": {
      "label": "Repository stars, date-fns",
      "display": "36.7K",
      "asOf": "2026-11-19"
    },
    "F138": {
      "label": "Custom-format parsing, date-fns",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F139": {
      "label": "Named time zones, date-fns",
      "display": "Via plugin",
      "asOf": "2026-11-19"
    },
    "F140": {
      "label": "Value model and role, date-fns",
      "display": "Native Date helper functions with explicit tokens,locale modules,and optional timezone context.",
      "asOf": "2026-11-19"
    },
    "F141": {
      "label": "First-call prerequisites, date-fns",
      "display": "[\"ES module/bundler setup required. JavaScript numeric month argument is zero-based; no remote service or external model asset.\"]",
      "asOf": "2026-11-19"
    },
    "F142": {
      "label": "Original project API contract, date-fns",
      "display": "{\"status\": \"verified\", \"arguments\": \"The picker imports format as formatDate and isValid from date-fns. Its local parse helper delegates to the SDK parse with a reference date and locale; that local wrapper is not counted as another native call. Current4.4 functions accept the resulting Date and a supported Unicode-token format string plus {locale:Locale}. getLocale must return the actual installed date-fns Locale; caller must pass tokens supported by the SDK rather than incompatible Moment masks.\", \"used_return_shapes\": \"isValid returns boolean; invalid Date exits false. Current format returns a string; strict input equality rejects format-normalized mismatches. Host token/locale normalization remains required; the function is not evidence that every arbitrary date string is safe to parse.\"}",
      "asOf": "2026-11-19"
    },
    "F143": {
      "label": "Project function, date-fns",
      "display": "const isStrictValidDate = (text: string, format: string, locale: string) => {\n  const date = parse(text, format, locale);\n  if (!isValid(date)) {\n    return false;\n  }\n  const formattedDate = formatDate(date, format, { locale: getLocale(locale) });\n  return text === formattedDate;\n}\n",
      "asOf": "2026-11-19"
    },
    "F144": {
      "label": "Project source file, date-fns",
      "display": "src/generate/dateFns.ts",
      "asOf": "2026-11-19"
    },
    "F145": {
      "label": "Project full_name, date-fns",
      "display": "react-component/picker",
      "asOf": "2026-11-19"
    },
    "F146": {
      "label": "Project stargazers_count, date-fns",
      "display": "306",
      "asOf": "2026-11-19"
    },
    "F147": {
      "label": "Library name, dayjs",
      "display": "Day.js",
      "asOf": "2026-11-19"
    },
    "F148": {
      "label": "Monthly downloads, dayjs",
      "display": "422.6M",
      "asOf": "2026-11-19"
    },
    "F149": {
      "label": "License, dayjs",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F150": {
      "label": "Package release, dayjs",
      "display": "1.11.23",
      "asOf": "2026-11-19"
    },
    "F151": {
      "label": "Package release date, dayjs",
      "display": "Aug 2026",
      "asOf": "2026-11-19"
    },
    "F152": {
      "label": "Install, dayjs",
      "display": "npm install dayjs",
      "asOf": "2026-11-19"
    },
    "F153": {
      "label": "Quickstart, dayjs",
      "display": "const dayjs = require('dayjs')\n//import dayjs from 'dayjs' // ES 2015\ndayjs().format()\n",
      "asOf": "2026-11-19"
    },
    "F154": {
      "label": "Repository stars, dayjs",
      "display": "48.6K",
      "asOf": "2026-11-19"
    },
    "F155": {
      "label": "Custom-format parsing, dayjs",
      "display": "Via plugin",
      "asOf": "2026-11-19"
    },
    "F156": {
      "label": "Named time zones, dayjs",
      "display": "Via plugin",
      "asOf": "2026-11-19"
    },
    "F157": {
      "label": "Value model and role, dayjs",
      "display": "Immutable Moment-style wrapper with opt-in plugin extensions.",
      "asOf": "2026-11-19"
    },
    "F158": {
      "label": "First-call prerequisites, dayjs",
      "display": "[\"Node CommonJS example. Core formatting call needs no plugin; custom parsing and named timezone conversions require separate plugins.\"]",
      "asOf": "2026-11-19"
    },
    "F159": {
      "label": "Original project API contract, dayjs",
      "display": "{\"status\": \"verified\", \"arguments\": \"The exact picker module imports Day.js plus customParseFormat,advancedFormat,weekday,localeData,weekOfYear,and weekYear and extends them before this parser is used. Current1.11.23 accepts input,format,locale,and strict parameters with customParseFormat. Registered locales are required; the initial locale getter preserves actual fallback. Normal branches parse strictly and test isValid. Week-ordinal paths use current startOf(year),add(j,week),and format. The same intact module installs its own Wo-to-wo formatting shim; that spelling is an application compatibility policy,not a claimed native ISO-week token.\", \"used_return_shapes\": \"locale getter returns a string; setter/startOf/add return Dayjs objects; format returns a string; isValid returns boolean. The whole parser returns a matching Dayjs or null. Weekly candidate loop is limited to j<=52 in the source; it is not a general proof of all ISO week-year edge cases.\"}",
      "asOf": "2026-11-19"
    },
    "F160": {
      "label": "Week-format host extension, dayjs",
      "display": "Picker explicitly replaces Wo with wo before native format and preloads customParseFormat,advancedFormat,and week-related plugins.",
      "asOf": "2026-11-19"
    },
    "F161": {
      "label": "Project function, dayjs",
      "display": "(locale, text, formats) => {\n      // Preserve Day.js fallback when the requested locale data is not registered.\n      const localeStr = dayjs().locale(parseLocale(locale)).locale();\n      for (let i = 0; i < formats.length; i += 1) {\n        const format = formats[i];\n        const formatText = text;\n        if (format.includes('wo') || format.includes('Wo')) {\n          // parse Wo\n          const year = formatText.split('-')[0];\n          const weekStr = formatText.split('-')[1];\n          const firstWeek = dayjs(year, 'YYYY').startOf('year').locale(localeStr);\n          for (let j = 0; j <= 52; j += 1) {\n            const nextWeek = firstWeek.add(j, 'week');\n            if (nextWeek.format('Wo') === weekStr) {\n              return nextWeek;\n            }\n          }\n          parseNoMatchNotice();\n          return null;\n        }\n        const date = dayjs(formatText, format, localeStr, true);\n        if (date.isValid()) {\n          return date;\n        }\n      }\n\n      if (text) {\n        parseNoMatchNotice();\n      }\n      return null;\n    }\n",
      "asOf": "2026-11-19"
    },
    "F162": {
      "label": "Project source file, dayjs",
      "display": "src/generate/dayjs.ts",
      "asOf": "2026-11-19"
    },
    "F163": {
      "label": "Project full_name, dayjs",
      "display": "react-component/picker",
      "asOf": "2026-11-19"
    },
    "F164": {
      "label": "Project stargazers_count, dayjs",
      "display": "306",
      "asOf": "2026-11-19"
    },
    "F165": {
      "label": "Library name, d3-time",
      "display": "d3-time",
      "asOf": "2026-11-19"
    },
    "F166": {
      "label": "Monthly downloads, d3-time",
      "display": "393.8M",
      "asOf": "2026-11-19"
    },
    "F167": {
      "label": "License, d3-time",
      "display": "ISC",
      "asOf": "2026-11-19"
    },
    "F168": {
      "label": "Package release, d3-time",
      "display": "3.1.1",
      "asOf": "2026-11-19"
    },
    "F169": {
      "label": "Package release date, d3-time",
      "display": "Nov 2026",
      "asOf": "2026-11-19"
    },
    "F170": {
      "label": "Install, d3-time",
      "display": "npm install d3-time",
      "asOf": "2026-11-19"
    },
    "F171": {
      "label": "Quickstart, d3-time",
      "display": "import { timeDay } from \"d3-time\";\n\nconst start = new Date(2015, 2, 1);\nconst end = new Date(2015, 3, 1);\nconsole.log(timeDay.count(start, end));\n",
      "asOf": "2026-11-19"
    },
    "F172": {
      "label": "Official description, d3-time",
      "display": "d3-time does calendar math on top of the built-in Date. It rounds a date to a boundary, counts the boundaries between two dates, and lists them. Each interval, such as day, week, or month, has floor, ceil, count, and range methods. Counting days with the day interval stays correct across a daylight saving change, where subtracting timestamps and dividing by the length of a day gives a fraction. The module has no calendar system of its own and ignores leap seconds. Formatting and parsing live in a separate time format module.",
      "asOf": "2026-11-19"
    },
    "F173": {
      "label": "Quickstart source file, d3-time",
      "display": "docs/d3-time.md",
      "asOf": "2026-11-19"
    },
    "F174": {
      "label": "Repository stars, d3-time",
      "display": "237",
      "asOf": "2026-11-19"
    },
    "F175": {
      "label": "Custom-format parsing, d3-time",
      "display": "Via plugin",
      "asOf": "2026-11-19"
    },
    "F176": {
      "label": "Named time zones, d3-time",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F177": {
      "label": "Value model and role, d3-time",
      "display": "Calendar-interval math and boundaries for time series; formatting/parsing is the distinct d3-time-format module.",
      "asOf": "2026-11-19"
    },
    "F178": {
      "label": "First-call prerequisites, d3-time",
      "display": "[\"Explicit ES-module recipe from the official calendar-day counting example,using the public timeDay export rather than assuming a global d3 object. Native Date months are zero-based; no fixed24hour division used.\"]",
      "asOf": "2026-11-19"
    },
    "F179": {
      "label": "Original project API contract, d3-time",
      "display": "{\"status\": \"verified\", \"arguments\": \"Vega imports timeDay and timeMonday directly from d3-time. The whole three-line calendar helper passes an actual Date into timeMonday.floor and shifts three local calendar days using timeDay.offset,then reads the native Date year. Current3.1 API returns Dates for both calls. This is original Vega calendar application logic using D3,not d3-time implementation code.\", \"used_return_shapes\": \"The two SDK calls return new Date values; getFullYear returns the ISO week-numbering year associated with Thursday of that local week. Local timezone calendar arithmetic is intentional. It is not UTC or arbitrary IANA-zone conversion.\"}",
      "asOf": "2026-11-19"
    },
    "F180": {
      "label": "Project function, d3-time",
      "display": "export function localISOWeekYear(d) {\n  return timeDay.offset(timeMonday.floor(d), 3).getFullYear();\n}\n",
      "asOf": "2026-11-19"
    },
    "F181": {
      "label": "Project source file, d3-time",
      "display": "packages/vega-time/src/util.js",
      "asOf": "2026-11-19"
    },
    "F182": {
      "label": "Project full_name, d3-time",
      "display": "vega/vega",
      "asOf": "2026-11-19"
    },
    "F183": {
      "label": "Project stargazers_count, d3-time",
      "display": "12.1K",
      "asOf": "2026-11-19"
    },
    "F184": {
      "label": "Library name, luxon",
      "display": "Luxon",
      "asOf": "2026-11-19"
    },
    "F185": {
      "label": "Monthly downloads, luxon",
      "display": "226.8M",
      "asOf": "2026-11-19"
    },
    "F186": {
      "label": "License, luxon",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F187": {
      "label": "Package release, luxon",
      "display": "3.7.2",
      "asOf": "2026-11-19"
    },
    "F188": {
      "label": "Package release date, luxon",
      "display": "Sep 2025",
      "asOf": "2026-11-19"
    },
    "F189": {
      "label": "Install, luxon",
      "display": "npm install luxon",
      "asOf": "2026-11-19"
    },
    "F190": {
      "label": "Quickstart, luxon",
      "display": "import { DateTime } from \"luxon\";\n\nconsole.log(DateTime.now().toISO());\n",
      "asOf": "2026-11-19"
    },
    "F191": {
      "label": "Repository stars, luxon",
      "display": "16.5K",
      "asOf": "2026-11-19"
    },
    "F192": {
      "label": "Custom-format parsing, luxon",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F193": {
      "label": "Named time zones, luxon",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F194": {
      "label": "Value model and role, luxon",
      "display": "Immutable DateTime,Duration,and Interval types with Intl-based named zones.",
      "asOf": "2026-11-19"
    },
    "F195": {
      "label": "First-call prerequisites, luxon",
      "display": "[\"Explicit minimal Node/bundler ES-module first-call recipe from the official import and supported DateTime methods. Locale and IANA zone support use runtime Intl; returned current-time string varies by environment.\"]",
      "asOf": "2026-11-19"
    },
    "F196": {
      "label": "Original project API contract, luxon",
      "display": "{\"status\": \"verified\", \"arguments\": \"The original picker imports DateTime from luxon; date must be that DateTime or nullish. Current3.7 public API retains setLocale(locale) and toFormat(fmt,opts). The host normalizes underscore locale tags to hyphens and Moment-like tokens into Luxon tokens; those complete helpers are retained in the immutable same module. Only supported locales and valid normalized format strings qualify.\", \"used_return_shapes\": \"isValid is a boolean property,not a function. The early guard returns null for absent/invalid values. setLocale returns a new DateTime and toFormat returns string; the original date remains unchanged.\"}",
      "asOf": "2026-11-19"
    },
    "F197": {
      "label": "Project function, luxon",
      "display": "(locale, date, format) => {\n      if (!date || !date.isValid) {\n        return null;\n      }\n\n      return date.setLocale(normalizeLocale(locale)).toFormat(normalizeFormat(format));\n    }\n",
      "asOf": "2026-11-19"
    },
    "F198": {
      "label": "Project source file, luxon",
      "display": "src/generate/luxon.ts",
      "asOf": "2026-11-19"
    },
    "F199": {
      "label": "Project full_name, luxon",
      "display": "react-component/picker",
      "asOf": "2026-11-19"
    },
    "F200": {
      "label": "Project stargazers_count, luxon",
      "display": "306",
      "asOf": "2026-11-19"
    },
    "F201": {
      "label": "Library name, moment",
      "display": "Moment.js",
      "asOf": "2026-11-19"
    },
    "F202": {
      "label": "Monthly downloads, moment",
      "display": "199.0M",
      "asOf": "2026-11-19"
    },
    "F203": {
      "label": "License, moment",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F204": {
      "label": "Package release, moment",
      "display": "2.31.0",
      "asOf": "2026-11-19"
    },
    "F205": {
      "label": "Package release date, moment",
      "display": "Sep 2026",
      "asOf": "2026-11-19"
    },
    "F206": {
      "label": "Install, moment",
      "display": "npm install moment",
      "asOf": "2026-11-19"
    },
    "F207": {
      "label": "Quickstart, moment",
      "display": "const moment = require('moment');\n\nmoment().format();\n",
      "asOf": "2026-11-19"
    },
    "F208": {
      "label": "Official description, moment",
      "display": "Moment.js parses, validates, changes, and formats dates through a moment object that wraps a Date. It runs in browsers and in Node.js. Format strings use tokens such as YYYY-MM-DD, and parsing accepts a format and a locale. Named time zones come from the separate moment-timezone package and its zone data. The project is in maintenance mode and accepts no new features.",
      "asOf": "2026-11-19"
    },
    "F209": {
      "label": "Quickstart source file, moment",
      "display": "docs/moment/00-use-it/01-node-js.md",
      "asOf": "2026-11-19"
    },
    "F210": {
      "label": "Repository stars, moment",
      "display": "47.9K",
      "asOf": "2026-11-19"
    },
    "F211": {
      "label": "Custom-format parsing, moment",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F212": {
      "label": "Named time zones, moment",
      "display": "Via plugin",
      "asOf": "2026-11-19"
    },
    "F213": {
      "label": "Value model and role, moment",
      "display": "Mutable Moment wrapper retained for current integrations; project explicitly in maintenance mode.",
      "asOf": "2026-11-19"
    },
    "F214": {
      "label": "First-call prerequisites, moment",
      "display": "[\"Official basic CommonJS first call. Current public Moment API remains supported despite maintenance mode. No timezone-data add-on needed for default local timestamp formatting.\"]",
      "asOf": "2026-11-19"
    },
    "F215": {
      "label": "Original project API contract, moment",
      "display": "{\"status\": \"verified\", \"arguments\": \"The actual picker module imports moment and receives a Moment object. Current2.31 clone(),locale(en_US),weekday(),localeData(),and firstDayOfWeek() retain these signatures. Cloning before locale mutation avoids changing the source value. The source requests English/US locale semantics,not the caller local week start.\", \"used_return_shapes\": \"clone/locale return Moment; weekday and firstDayOfWeek return numbers. Their sum supplies the picker weekday index. LocaleData is the current Locale object; native Date.getDay is not substituted.\"}",
      "asOf": "2026-11-19"
    },
    "F216": {
      "label": "Project status, moment",
      "display": "Maintenance mode; new features are not accepted.",
      "asOf": "2026-11-19"
    },
    "F217": {
      "label": "Project function, moment",
      "display": "(date) => {\n    const clone = date.clone().locale('en_US');\n    return clone.weekday() + clone.localeData().firstDayOfWeek();\n  }\n",
      "asOf": "2026-11-19"
    },
    "F218": {
      "label": "Project source file, moment",
      "display": "src/generate/moment.ts",
      "asOf": "2026-11-19"
    },
    "F219": {
      "label": "Project full_name, moment",
      "display": "react-component/picker",
      "asOf": "2026-11-19"
    },
    "F220": {
      "label": "Project stargazers_count, moment",
      "display": "306",
      "asOf": "2026-11-19"
    },
    "F221": {
      "label": "Library name, dateformat",
      "display": "dateformat",
      "asOf": "2026-11-19"
    },
    "F222": {
      "label": "Monthly downloads, dateformat",
      "display": "173.7M",
      "asOf": "2026-11-19"
    },
    "F223": {
      "label": "License, dateformat",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F224": {
      "label": "Package release, dateformat",
      "display": "5.0.5",
      "asOf": "2026-11-19"
    },
    "F225": {
      "label": "Package release date, dateformat",
      "display": "Oct 2026",
      "asOf": "2026-11-19"
    },
    "F226": {
      "label": "Install, dateformat",
      "display": "npm install dateformat",
      "asOf": "2026-11-19"
    },
    "F227": {
      "label": "Quickstart, dateformat",
      "display": "import dateFormat, { masks } from \"dateformat\";\nconst now = new Date();\n\n// Basic usage\ndateFormat(now, \"dddd, mmmm dS, yyyy, h:MM:ss TT\");\n",
      "asOf": "2026-11-19"
    },
    "F228": {
      "label": "Official description, dateformat",
      "display": "dateformat turns a Date into text from a mask, a pattern of letters such as dddd, mmmm dS, yyyy. Named masks cover common layouts, among them isoDateTime and fullDate, and new ones can be added to the exported masks object. Passing true as a third argument, or starting a mask with UTC:, prints the time in UTC. The package formats only and has no function for parsing text back into a Date. It also installs a dateformat command for the terminal.",
      "asOf": "2026-11-19"
    },
    "F229": {
      "label": "Quickstart source file, dateformat",
      "display": "Readme.md",
      "asOf": "2026-11-19"
    },
    "F230": {
      "label": "Repository stars, dateformat",
      "display": "1.3K",
      "asOf": "2026-11-19"
    },
    "F231": {
      "label": "Custom-format parsing, dateformat",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F232": {
      "label": "Named time zones, dateformat",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F233": {
      "label": "Value model and role, dateformat",
      "display": "Focused native Date formatting with named masks; current package uses ESM default import.",
      "asOf": "2026-11-19"
    },
    "F234": {
      "label": "First-call prerequisites, dateformat",
      "display": "[\"Use current5 ESM import,not require() or namespace-call compatibility assumed from older releases. Date object is native; locale/global mask state can be customized separately.\"]",
      "asOf": "2026-11-19"
    },
    "F235": {
      "label": "Original project API contract, dateformat",
      "display": "{\"status\": \"verified\", \"arguments\": \"The original2017 Appium source imports the default dateformat function,which is also the current5.0.5 ESM entrypoint; the older declared dependency is context,not grounds to reject compatible calls. Its complete timestamp helper passes a native Date and the mask yyyy-mm-dd HH:MM:ss:l. These exact lowercase-year/month and uppercase-minute tokens are listed in the current own README. The host localTimezone boolean determines whether the original helper shifts by getTimezoneOffset before formatting.\", \"used_return_shapes\": \"Current dateFormat returns the formatted string. The application produces a log timestamp without an offset label; this is a local-versus-UTC policy implemented by the host,not arbitrary IANA timezone support. Generic native Date operations are not counted as SDK calls.\"}",
      "asOf": "2026-11-19"
    },
    "F236": {
      "label": "Project function, dateformat",
      "display": "function timestamp () {\n  let date = new Date();\n  if (!timeZone) {\n    date = new Date(date.valueOf() + date.getTimezoneOffset() * 60000);\n  }\n  return dateformat(date, \"yyyy-mm-dd HH:MM:ss:l\");\n}\n",
      "asOf": "2026-11-19"
    },
    "F237": {
      "label": "Project source file, dateformat",
      "display": "lib/logsink.js",
      "asOf": "2026-11-19"
    },
    "F238": {
      "label": "Project full_name, dateformat",
      "display": "appium/appium",
      "asOf": "2026-11-19"
    },
    "F239": {
      "label": "Project stargazers_count, dateformat",
      "display": "22.2K",
      "asOf": "2026-11-19"
    },
    "F240": {
      "label": "Library name, fecha",
      "display": "Fecha",
      "asOf": "2026-11-19"
    },
    "F241": {
      "label": "Monthly downloads, fecha",
      "display": "136.2M",
      "asOf": "2026-11-19"
    },
    "F242": {
      "label": "License, fecha",
      "display": "MIT",
      "asOf": "2026-11-19"
    },
    "F243": {
      "label": "Package release, fecha",
      "display": "4.2.3",
      "asOf": "2026-11-19"
    },
    "F244": {
      "label": "Package release date, fecha",
      "display": "Apr 2022",
      "asOf": "2026-11-19"
    },
    "F245": {
      "label": "Install, fecha",
      "display": "npm install fecha",
      "asOf": "2026-11-19"
    },
    "F246": {
      "label": "Quickstart, fecha",
      "display": "import { format } from 'fecha';\n\nformat(new Date(2015, 10, 20), 'dddd MMMM Do, YYYY'); // 'Friday November 20th, 2015'\n",
      "asOf": "2026-11-19"
    },
    "F247": {
      "label": "Official description, fecha",
      "display": "Fecha formats and parses dates and leaves out date arithmetic, as a replacement for the formatting and parsing parts of Moment.js. format takes a Date or a timestamp and a format string such as dddd MMMM Do, YYYY, and returns text. Named formats such as isoDate and mediumDate are built in. parse reads a string against a required format and returns a Date or null.",
      "asOf": "2026-11-19"
    },
    "F248": {
      "label": "Quickstart source file, fecha",
      "display": "README.md",
      "asOf": "2026-11-19"
    },
    "F249": {
      "label": "Repository stars, fecha",
      "display": "2.1K",
      "asOf": "2026-11-19"
    },
    "F250": {
      "label": "Custom-format parsing, fecha",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F251": {
      "label": "Named time zones, fecha",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F252": {
      "label": "Value model and role, fecha",
      "display": "Focused native Date mask formatting and parsing,without date arithmetic.",
      "asOf": "2026-11-19"
    },
    "F253": {
      "label": "First-call prerequisites, fecha",
      "display": "[\"Disclosed first-call recipe retains the README import and first formatting call. README pseudo-type annotation is explanatory text and is not inserted into JavaScript. Numeric Date month is zero-based.\"]",
      "asOf": "2026-11-19"
    },
    "F254": {
      "label": "Original project API contract, fecha",
      "display": "{\"status\": \"verified\", \"arguments\": \"HotelDatepicker imports the current named namespace as fecha. The complete parseDisabledDates task calls fecha.parse with each configured YYYY-MM-DD string,sets the component locale through its original setFechaI18n helper,and sorts parsed Dates numerically. Current4.2.3 parse accepts string,mask,and optional i18n. All configured disabledDates must be valid strings matching that mask; the source does not guard null parses before sorting. setGlobalDateI18n supports its same-module day/month/AM-PM fields; this changes process-global Fecha i18n and is not an isolated per-instance formatter.\", \"used_return_shapes\": \"Current parse returns Date|null. Under the explicit valid-input precondition the sorted array contains Dates and becomes this.disabledDatesTime. The method returns void. No invented filter,validation,or normalization was inserted.\"}",
      "asOf": "2026-11-19"
    },
    "F255": {
      "label": "Global i18n and invalid inputs, fecha",
      "display": "The real project configures Fecha global i18n before parsing configured disabled dates. parse can return null,so valid configured YYYY-MM-DD values are a source precondition.",
      "asOf": "2026-11-19"
    },
    "F256": {
      "label": "Project function, fecha",
      "display": "parseDisabledDates() {\n    // Sort disabled dates and store it in property\n    const _tmp = [];\n    this.setFechaI18n();\n    for (let i = 0; i < this.disabledDates.length; i++) {\n        _tmp[i] = fecha.parse(this.disabledDates[i], \"YYYY-MM-DD\");\n    }\n\n    _tmp.sort((a, b) => {\n        return a - b;\n    });\n\n    this.disabledDatesTime = _tmp;\n}\n",
      "asOf": "2026-11-19"
    },
    "F257": {
      "label": "Project source file, fecha",
      "display": "src/js/hotel-datepicker.js",
      "asOf": "2026-11-19"
    },
    "F258": {
      "label": "Project full_name, fecha",
      "display": "benitolopez/hotel-datepicker",
      "asOf": "2026-11-19"
    },
    "F259": {
      "label": "Project stargazers_count, fecha",
      "display": "325",
      "asOf": "2026-11-19"
    },
    "F260": {
      "label": "Library name, @internationalized/date",
      "display": "@internationalized/date",
      "asOf": "2026-11-19"
    },
    "F261": {
      "label": "Monthly downloads, @internationalized/date",
      "display": "99.3M",
      "asOf": "2026-11-19"
    },
    "F262": {
      "label": "License, @internationalized/date",
      "display": "Apache-2.0",
      "asOf": "2026-11-19"
    },
    "F263": {
      "label": "Package release, @internationalized/date",
      "display": "3.12.4",
      "asOf": "2026-11-19"
    },
    "F264": {
      "label": "Package release date, @internationalized/date",
      "display": "Sep 2026",
      "asOf": "2026-11-19"
    },
    "F265": {
      "label": "Install, @internationalized/date",
      "display": "npm install @internationalized/date",
      "asOf": "2026-11-19"
    },
    "F266": {
      "label": "Quickstart, @internationalized/date",
      "display": "import {CalendarDate, startOfWeek} from '@internationalized/date';\n\nlet date = new CalendarDate(2022, 2, 3);\ndate = date.add({weeks: 1});\ndate = startOfWeek(date, 'en-US');\ndate.toString(); // 2022-02-06\n",
      "asOf": "2026-11-19"
    },
    "F267": {
      "label": "Official description, @internationalized/date",
      "display": "@internationalized/date represents dates and times with immutable objects tied to a calendar system. CalendarDate holds a date with no time, CalendarDateTime adds a time without a zone, and ZonedDateTime holds a date and time in a specific time zone. The package supports thirteen calendar systems, including Gregorian, Buddhist, Islamic, and Persian, and converts values between calendars, time zones, and strings. Operations that could be ambiguous, such as arithmetic across a daylight saving change, resolve the ambiguity explicitly. The design follows Temporal, the date API proposed for JavaScript itself.",
      "asOf": "2026-11-19"
    },
    "F268": {
      "label": "Quickstart source file, @internationalized/date",
      "display": "packages/@internationalized/date/README.md",
      "asOf": "2026-11-19"
    },
    "F269": {
      "label": "Repository stars, @internationalized/date",
      "display": "16.1K",
      "asOf": "2026-11-19"
    },
    "F270": {
      "label": "Custom-format parsing, @internationalized/date",
      "display": "No",
      "asOf": "2026-11-19"
    },
    "F271": {
      "label": "Named time zones, @internationalized/date",
      "display": "Yes",
      "asOf": "2026-11-19"
    },
    "F272": {
      "label": "Value model and role, @internationalized/date",
      "display": "Immutable calendar-aware date-only,time-only,and zoned values for international applications.",
      "asOf": "2026-11-19"
    },
    "F273": {
      "label": "First-call prerequisites, @internationalized/date",
      "display": "[\"Official basic CalendarDate manipulation example. CalendarDate is date-only and immutable; timezone-aware values use the distinct ZonedDateTime type. Runtime Intl is required for locale-specific week metadata.\"]",
      "asOf": "2026-11-19"
    },
    "F274": {
      "label": "Original project API contract, @internationalized/date",
      "display": "{\"status\": \"verified\", \"arguments\": \"Zag imports DateFormatter from @internationalized/date. The original date-entry helper constructs it with a valid locale and Intl day/month/year numeric options plus an IANA timezone,then formats a native Date into structured parts. Current3.12.4 constructor and formatToParts retain those arguments. Locale,time zone,and runtime Intl coverage must be supported. No React dependency is required by this lower-level date package.\", \"used_return_shapes\": \"formatToParts returns Intl.DateTimeFormatPart[] with type/value strings. The original helper maps parts into an optional-digit regex pattern string. It supports ASCII digit matching and retains literal text without general regex escaping; it is not universal localized free-text date parsing. No regex/source statement was silently repaired.\"}",
      "asOf": "2026-11-19"
    },
    "F275": {
      "label": "Calendar and date-only model, @internationalized/date",
      "display": "CalendarDate has no time components; ZonedDateTime carries a time zone. International calendar implementations are native package functionality.",
      "asOf": "2026-11-19"
    },
    "F276": {
      "label": "Project function, @internationalized/date",
      "display": "function createRegex(locale: string, timeZone: string) {\n  const formatter = new DateFormatter(locale, { day: \"numeric\", month: \"numeric\", year: \"numeric\", timeZone })\n  const parts = formatter.formatToParts(new Date(2000, 11, 25))\n  return parts.map(({ type, value }) => (type === \"literal\" ? `${value}?` : `((?!=<${type}>)\\\\d+)?`)).join(\"\")\n}\n",
      "asOf": "2026-11-19"
    },
    "F277": {
      "label": "Project source file, @internationalized/date",
      "display": "packages/utilities/date-utils/src/parse-date.ts",
      "asOf": "2026-11-19"
    },
    "F278": {
      "label": "Project full_name, @internationalized/date",
      "display": "chakra-ui/zag",
      "asOf": "2026-11-19"
    },
    "F279": {
      "label": "Project stargazers_count, @internationalized/date",
      "display": "5.3K",
      "asOf": "2026-11-19"
    },
    "F280": {
      "label": "Developer need, date-fns",
      "display": "Functions on native Date values",
      "asOf": "2026-11-17"
    },
    "F281": {
      "label": "Pick reason, date-fns",
      "display": "takes and returns Date values",
      "asOf": "2026-11-17"
    },
    "F282": {
      "label": "Developer need, Day.js",
      "display": "A Moment.js-style chainable API",
      "asOf": "2026-11-17"
    },
    "F283": {
      "label": "Pick reason, Day.js",
      "display": "largely Moment-compatible methods",
      "asOf": "2026-11-17"
    },
    "F284": {
      "label": "Developer need, d3-time",
      "display": "Calendar intervals for time series",
      "asOf": "2026-11-17"
    },
    "F285": {
      "label": "Pick reason, d3-time",
      "display": "rounds and counts dates by interval",
      "asOf": "2026-11-17"
    },
    "F286": {
      "label": "Developer need, Luxon",
      "display": "Durations, intervals, and named zones",
      "asOf": "2026-11-17"
    },
    "F287": {
      "label": "Pick reason, Luxon",
      "display": "DateTime, Duration, and Interval types",
      "asOf": "2026-11-17"
    },
    "F288": {
      "label": "Developer need, Moment.js",
      "display": "An existing Moment.js codebase",
      "asOf": "2026-11-17"
    },
    "F289": {
      "label": "Pick reason, Moment.js",
      "display": "parses, validates, and formats dates",
      "asOf": "2026-11-17"
    },
    "F290": {
      "label": "Developer need, dateformat",
      "display": "Formatting with named masks",
      "asOf": "2026-11-17"
    },
    "F291": {
      "label": "Pick reason, dateformat",
      "display": "formats dates from masks",
      "asOf": "2026-11-17"
    },
    "F292": {
      "label": "Developer need, Fecha",
      "display": "Formatting and parsing only",
      "asOf": "2026-11-17"
    },
    "F293": {
      "label": "Pick reason, Fecha",
      "display": "formats and parses with tokens",
      "asOf": "2026-11-17"
    },
    "F294": {
      "label": "Developer need, @internationalized/date",
      "display": "Calendars other than Gregorian",
      "asOf": "2026-11-17"
    },
    "F295": {
      "label": "Pick reason, @internationalized/date",
      "display": "calendar-aware immutable dates",
      "asOf": "2026-11-17"
    },
    "F296": {
      "label": "Limitation lead",
      "display": "Local time and UTC only",
      "asOf": "2026-11-17"
    },
    "F297": {
      "label": "Limitation body",
      "display": "Intervals work in the local time zone and UTC, with no named time zones.",
      "asOf": "2026-11-17"
    },
    "F298": {
      "label": "Limitation lead",
      "display": "In maintenance mode",
      "asOf": "2026-11-17"
    },
    "F299": {
      "label": "Limitation body",
      "display": "The project accepts no new features. Named time zones need the separate moment-timezone package.",
      "asOf": "2026-11-17"
    },
    "F300": {
      "label": "Limitation lead",
      "display": "No date arithmetic",
      "asOf": "2026-11-17"
    },
    "F301": {
      "label": "Limitation body",
      "display": "Fecha formats and parses only; adding or subtracting time needs another library.",
      "asOf": "2026-11-17"
    }
  },
  "dataCheckedAt": "2026-11-19",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript date libraries date-fns Day.js Luxon Temporal timezone parsing formatting durations code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
