From e72ec762e28ad808c2f132d2658577e550afdfb4 Mon Sep 17 00:00:00 2001 From: BakaKuma <43674257+BakaKuma-uwu@users.noreply.github.com> Date: Sun, 2 Feb 2025 01:57:12 +0100 Subject: [PATCH] Update date-time-math.md I learned today that Date/time math is aware of your timezone and does unlogical stuff (like add 1h to your calculations if you're in GMT+1 as seen here: https://discord.com/channels/699319482442711072/1335406928263774268 To avoid confusion I wanted to add this) --- doc_posts/_commands-date-time/date-time-math.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc_posts/_commands-date-time/date-time-math.md b/doc_posts/_commands-date-time/date-time-math.md index 8bc2f33c..d5f8b1c4 100644 --- a/doc_posts/_commands-date-time/date-time-math.md +++ b/doc_posts/_commands-date-time/date-time-math.md @@ -5,7 +5,7 @@ redirect_from: - commands/248 --- -Returns a Date/Time, in the format specified, after adding or subtracting an amount of time. +Returns a Date/Time, in the format specified, after adding or subtracting an amount of time. Includes your computer's timezone in the calculation. |Box Name|Type|Description| |--------|--------|-------- @@ -19,3 +19,5 @@ Returns a Date/Time, in the format specified, after adding or subtracting an amo {:class="table table-primary"} {% include alert.html text="TIP: You can use this command with an empty Number/Variable to just change the format of a date/time." type="info" %} +{% include alert.html text="TIP: Use the {Z} Format to make your code aware of your timezone, otherwise it might cause slight issues!" type="info" %} +