From 904baf2396f31194204550f64bf0d93fc17aeb58 Mon Sep 17 00:00:00 2001 From: Cam Date: Wed, 10 Sep 2025 13:10:51 -0500 Subject: [PATCH] Fix date and time formatting examples in variables guide Noticed an issue with the documentation where the date and time modifiers were switched up, went ahead and fixed it. --- docs/guides/variables.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/variables.mdx b/docs/guides/variables.mdx index fb06169..3e3d116 100644 --- a/docs/guides/variables.mdx +++ b/docs/guides/variables.mdx @@ -138,8 +138,8 @@ unknown -> `{unknown_int_modifier({mod})}` | Modifier | Description | Example | | | -------- | -------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------- | | `locale` | Format the date to the locale provided or system default | `9/22/2024` -> `9/22/2024, 12:00:00 AM` | [locale/timezone configuration](#localetimezone-modifiers) | -| `time` | Format the date to the time provided | `9/22/2024` -> `9/22/2024` | [locale/timezone configuration](#localetimezone-modifiers) | -| `date` | Format the date to the date provided | `9/22/2024` -> `12:00:00 AM` | [locale/timezone configuration](#localetimezone-modifiers) | +| `time` | Format the date to the time provided | `9/22/2024` -> `12:00:00 AM` | [locale/timezone configuration](#localetimezone-modifiers) | +| `date` | Format the date to the date provided | `9/22/2024` -> `9/22/2024` | [locale/timezone configuration](#localetimezone-modifiers) | | `unix` | Convert the date to a Unix timestamp | `9/22/2024` -> `1692819200000` | | `iso` | Convert the date to an ISO string | `9/22/2024` -> `2024-09-22T00:00:00.000Z` | | `utc` | Convert the date to UTC time | `9/22/2024` -> `2024-09-22T00:00:00.000Z` |