Dynamic Dates

Dynamic dates for EmDash: [year], [monthyear], [age], countdowns and 40 more shortcodes that stay current without republishing. A port of a WordPress plugin.

Plugin

Dynamic Dates

Dynamic dates for EmDash: [year], [monthyear], [age], countdowns and 40 more shortcodes that stay current without republishing. A port of a WordPress plugin.

  • Category: Content
  • Status: available
  • Version: 0.1.1
  • Price: Unknown
  • Source: npm package
  • Install method: Native npm integration
  • Verified: 2026-11-07
  • Compatibility: EmDash >=1.0.0
  • Maintainer: Gatilab

Dynamic dates for EmDash: [year], [monthyear], [age], countdowns and 40 more shortcodes that stay current without republishing. A port of a WordPress plugin.

Installation

Install the package from npm:

npm install @gatilab/emdash-dynamic-dates

Register the plugin in your Astro config:

// astro.config.mjs
import emdash from "emdash/astro";
import { dynamicDates } from "@gatilab/emdash-dynamic-dates";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [dynamicDates({ timeZone: "Asia/Kolkata" })],
    }),
  ],
});

Details