From 95b4dd04e6a4c416fd23f009f877d31671158661 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Mon, 2 Dec 2024 12:32:32 +0100 Subject: [PATCH 1/2] Update Date Time property editor article 2 --- .../built-in-umbraco-property-editors/date-time.md | 8 +++----- .../built-in-umbraco-property-editors/date-time.md | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md index 78dbc2ca4d8..4552dbefd1c 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md @@ -12,15 +12,13 @@ Displays a calendar UI for selecting dates which are saved as a DateTime value. ![Data Type Definiton](images/date-time.png) -There are two settings available for manipulating the DateTime property. +There is one setting available for manipulating the DateTime property. -One is to set a format. By default the format of the date in the Umbraco backoffice will be `YYYY-MM-DD HH:mm:ss`, but you can change this to something else. See [MomentJS.com](https://momentjs.com/) for the supported formats. - -The second setting is "Offset time". When enabling this setting the displayed time will be offset with the servers timezone. This can be useful in cases where an editor is in a different timezone than the hosted server. +The setting involved defining the format. By default the format of the date in the Umbraco backoffice will be `YYYY-MM-DD HH:mm:ss`, but you can change this to something else. See [MomentJS.com](https://momentjs.com/) for the supported formats. ## Content Example -![Content Example](../../../../../../10/umbraco-cms/fundamentals/backoffice/property-editors/built-in-property-editors/images/date-picker-v8.png) +![Content Example](../built-in-property-editors/images/date-picker-v8.png) ## MVC View Example - displays a datetime diff --git a/15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md b/15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md index 404b5e7af48..145e3f667ea 100644 --- a/15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md +++ b/15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md @@ -12,15 +12,13 @@ Displays a calendar UI for selecting dates which are saved as a DateTime value. ![Data Type Definiton](images/date-time.png) -There are two settings available for manipulating the DateTime property. +There is one setting available for manipulating the DateTime property. -One is to set a format. By default the format of the date in the Umbraco backoffice will be `YYYY-MM-DD HH:mm:ss`, but you can change this to something else. See [MomentJS.com](https://momentjs.com/) for the supported formats. - -The second setting is "Offset time". When enabling this setting the displayed time will be offset with the servers timezone. This can be useful in cases where an editor is in a different timezone than the hosted server. +The setting involved defining the format. By default the format of the date in the Umbraco backoffice will be `YYYY-MM-DD HH:mm:ss`, but you can change this to something else. See [MomentJS.com](https://momentjs.com/) for the supported formats. ## Content Example -![Content Example](../../../../../../10/umbraco-cms/fundamentals/backoffice/property-editors/built-in-property-editors/images/date-picker-v8.png) +![Content Example](../built-in-property-editors/images/date-picker-v8.png) ## MVC View Example - displays a datetime From 76a66b20209ee0552ce13649f8114931ac03ee48 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Tue, 10 Dec 2024 14:37:53 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Esha Noronha <82437098+eshanrnh@users.noreply.github.com> --- .../built-in-umbraco-property-editors/date-time.md | 2 +- .../built-in-umbraco-property-editors/date-time.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md index 4552dbefd1c..102900d5c88 100644 --- a/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md +++ b/14/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md @@ -14,7 +14,7 @@ Displays a calendar UI for selecting dates which are saved as a DateTime value. There is one setting available for manipulating the DateTime property. -The setting involved defining the format. By default the format of the date in the Umbraco backoffice will be `YYYY-MM-DD HH:mm:ss`, but you can change this to something else. See [MomentJS.com](https://momentjs.com/) for the supported formats. +The setting involves defining the format. The default date format in the Umbraco backoffice is `YYYY-MM-DD HH:mm:ss`, but you can change it to a different format. See [MomentJS.com](https://momentjs.com/) for the supported formats. ## Content Example diff --git a/15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md b/15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md index 145e3f667ea..d566af2ee51 100644 --- a/15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md +++ b/15/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time.md @@ -14,7 +14,7 @@ Displays a calendar UI for selecting dates which are saved as a DateTime value. There is one setting available for manipulating the DateTime property. -The setting involved defining the format. By default the format of the date in the Umbraco backoffice will be `YYYY-MM-DD HH:mm:ss`, but you can change this to something else. See [MomentJS.com](https://momentjs.com/) for the supported formats. +The setting involves defining the format. The default date format in the Umbraco backoffice is `YYYY-MM-DD HH:mm:ss`, but you can change it to a different format. See [MomentJS.com](https://momentjs.com/) for the supported formats. ## Content Example