{"library":"gatsby-plugin-build-date","type":"library","category":null,"description":"This Gatsby plugin, currently at version 1.0.0, provides a utility for injecting the site's build timestamp into the internal GraphQL API under the `currentBuildDate` type. It is designed to make the site's last build date accessible within components and pages, useful for displaying 'Last Updated' footers. The date is generated statically at build time, ensuring consistency across deployments. A key differentiator is its integration with the `date-and-time` library for robust date formatting and localization, which circumvents Node.js's default `toLocaleString()` limitations that typically only support 'en-US'. The plugin's release cadence is generally slow for a utility of this nature, with releases primarily focusing on stability or compatibility with new Gatsby major versions, rather than frequent feature additions. It explicitly clarifies that it's for the overall site build date, not individual file modification times.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","gatsby","gatsby-plugin","date","build date","updated date"],"last_verified":"Wed May 27","install":[{"cmd":"npm install gatsby-plugin-build-date","imports":["// In gatsby-config.js\nmodule.exports = {\n  plugins: [\n    `gatsby-plugin-build-date`\n  ]\n}","// In gatsby-config.js\nmodule.exports = {\n  plugins: [\n    {\n      resolve: `gatsby-plugin-build-date`,\n      options: {\n        formatAsDateString: true,\n        formatting: {\n          format: 'dddd D MMMM YYYY',\n          utc: false\n        },\n        locale: 'fr'\n      }\n    }\n  ]\n}","query MySiteBuildDate {\n  currentBuildDate {\n    currentDate\n  }\n}"]},{"cmd":"yarn add gatsby-plugin-build-date","imports":[]},{"cmd":"pnpm add gatsby-plugin-build-date","imports":[]}],"homepage":null,"github":"https://github.com/garethpbk/gatsby-plugin-build-date","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gatsby-plugin-build-date","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/gatsby-plugin-build-date/compatibility"}}