From d074fc838ad1c21c35c14fce496102aa9ed24904 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Mon, 28 Mar 2022 16:50:20 +0100 Subject: [PATCH] Docs: Refresh restricted datetime functions docs Kept the descriptions for individual code comparisons simpler, and populated the element with more description instead. --- .../DateTime/RestrictedFunctionsStandard.xml | 44 +++++++++++++++++++ WordPress/Docs/WP/TimezoneChangeStandard.xml | 22 ---------- 2 files changed, 44 insertions(+), 22 deletions(-) create mode 100644 WordPress/Docs/DateTime/RestrictedFunctionsStandard.xml delete mode 100644 WordPress/Docs/WP/TimezoneChangeStandard.xml diff --git a/WordPress/Docs/DateTime/RestrictedFunctionsStandard.xml b/WordPress/Docs/DateTime/RestrictedFunctionsStandard.xml new file mode 100644 index 0000000000..9c7a2ffabc --- /dev/null +++ b/WordPress/Docs/DateTime/RestrictedFunctionsStandard.xml @@ -0,0 +1,44 @@ + + + + + + + setTimezone( + new DateTimeZone( 'Europe/Amsterdam' ) +); + ]]> + + + + + + + + + + + + + + diff --git a/WordPress/Docs/WP/TimezoneChangeStandard.xml b/WordPress/Docs/WP/TimezoneChangeStandard.xml deleted file mode 100644 index 08ed87f6b6..0000000000 --- a/WordPress/Docs/WP/TimezoneChangeStandard.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - setTimezone( - new DateTimeZone( 'America/Toronto' ) -); - ]]> - - - - - -