{"schemaVersion":1,"id":"date-fns","name":"date-fns","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/date-fns/","officialUrl":"https://github.com/date-fns/date-fns","isCatalog":false,"description":"Modular JavaScript date functions: they handle parsing, calculations, and formatting without a large shared runtime object.","tasks":["Check date calculations and formats","Connect date functions to a locale and real boundary examples"],"categoryIds":["frontend"],"subcategoryIds":["frontend.utilities"],"tags":["date-fns","web","Development"],"aliases":["date-fns/date-fns","date-fns","modern-js-date-utils"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT, as declared in the official README.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT (as stated in the official README).","selectionGuide":{"purpose":"Check date calculations and formats","chooseWhen":["Check date calculations and formats","Connect date functions to a locale and real boundary examples"],"considerInstead":[],"requirements":["Import required functions and locales rather than unconditionally including the entire library."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT (as stated in the official README)."],"faq":[{"question":"What can you use for free in date-fns?","answer":"Code and local use under MIT, as declared in the official README."},{"question":"What additional costs might arise with date-fns?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for date-fns?","answer":"MIT (as stated in the official README)."},{"question":"How do you get started with date-fns?","answer":"Choose parsing/formatting operations for date inputs. Connect date functions to a locale and real boundary examples. Add real data and error handling; check the production build."},{"question":"How can I reduce date code size in an application?","answer":"date-fns consists of modular functions with tree shaking; load locales as needed. Functions do not mutate supplied dates and return new values. The README notes time zone support in version 4; choose zones through that version's API rather than assuming every formatting operation handles zones automatically."}],"related":[],"sources":["https://github.com/date-fns/date-fns","https://raw.githubusercontent.com/date-fns/date-fns/HEAD/README.md","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Check date calculations and formats.","inputs":["Web application source code and the intended workflow.","The project's framework and runtime version."],"steps":["Choose parsing/formatting operations for date inputs.","Connect date functions to a locale and real boundary examples.","Add real data and error handling; check the production build."],"checks":["The workflow works after a page refresh and with invalid data.","The bundle, server rendering, and supported browsers suit the project."]},"sources":["https://github.com/date-fns/date-fns","https://raw.githubusercontent.com/date-fns/date-fns/HEAD/README.md","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Web framework / library","kind":"library","pricingNote":"Code and local use under MIT (as stated in the official README). Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/date-fns/date-fns","label":"Official source"},{"url":"https://raw.githubusercontent.com/date-fns/date-fns/HEAD/README.md","label":"Official source"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}