Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
For dates entered, I need to also store the relevant TimeZoneInfo. Is there a TimeZoneInfo selector data type for Umbraco 8 anywhere?
I am not fluent on Angular Js, so I don't really want to start writing my own selector....
Any input is greatly appreciated.
Kind regards! Mikael
Hi Mikael
To my knowledge such a property editor / data type does not exist.
But by utilizing the data list property editor in the amazing Contentment package, you can create your own data source as shown in this example:
https://github.com/leekelleher/umbraco-contentment/blob/67545958cfdb9d72838f56ae394e6defae55d240/docs/editors/data-list.md#extending-with-your-own-custom-data-source
The example specifically shows a TimeZoneDataSource, which sounds like what you need 😉
TimeZoneDataSource
Hi Anders,
thank you for your suggestion! I'll dvelve into it and report back.
Just to note, the TimeZone data source is now available as part of the Contentment Data List editor by default. No need to write custom code for it. 👍
Absolutely amazing. Thank you for the hint - and for the package! 👍👍
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
TimeZoneInfo selector data type
For dates entered, I need to also store the relevant TimeZoneInfo. Is there a TimeZoneInfo selector data type for Umbraco 8 anywhere?
I am not fluent on Angular Js, so I don't really want to start writing my own selector....
Any input is greatly appreciated.
Kind regards! Mikael
Hi Mikael
To my knowledge such a property editor / data type does not exist.
But by utilizing the data list property editor in the amazing Contentment package, you can create your own data source as shown in this example:
https://github.com/leekelleher/umbraco-contentment/blob/67545958cfdb9d72838f56ae394e6defae55d240/docs/editors/data-list.md#extending-with-your-own-custom-data-source
The example specifically shows a
TimeZoneDataSource
, which sounds like what you need 😉Hi Anders,
thank you for your suggestion! I'll dvelve into it and report back.
Kind regards! Mikael
Just to note, the TimeZone data source is now available as part of the Contentment Data List editor by default. No need to write custom code for it. 👍
Absolutely amazing. Thank you for the hint - and for the package! 👍👍
is working on a reply...