Skip to main content
Commonmark migration
Source Link

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display

You should see the following form (with different fields, of course).[![enter image description here][1]][1]enter image description here

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. [![enter image description here][2]][2]enter image description here

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"[![enter image description here][3]][3]time"enter image description here

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp [![enter image description here][4]][3]enter image description here

As a last thing: Screenshot, showing the different type of fields in Manage form Display: [![enter image description here][5]][5]enter image description here

Update 2: It seems the following article has it explained how to do the exact thing you are looking for: https://www.previousnext.com.au/blog/making-drupal-8-datetime-widgets-use-human-formats [1]: https://i.sstatic.net/NbcP5.png [2]: https://i.sstatic.net/Hl0oa.png [3]: https://i.sstatic.net/XvHQf.png [4]: https://i.sstatic.net/FCbbK.png [5]: https://i.sstatic.net/0Z6bs.png

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display

You should see the following form (with different fields, of course).[![enter image description here][1]][1]

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. [![enter image description here][2]][2]

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"[![enter image description here][3]][3]

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp [![enter image description here][4]][3]

As a last thing: Screenshot, showing the different type of fields in Manage form Display: [![enter image description here][5]][5]

Update 2: It seems the following article has it explained how to do the exact thing you are looking for: https://www.previousnext.com.au/blog/making-drupal-8-datetime-widgets-use-human-formats [1]: https://i.sstatic.net/NbcP5.png [2]: https://i.sstatic.net/Hl0oa.png [3]: https://i.sstatic.net/XvHQf.png [4]: https://i.sstatic.net/FCbbK.png [5]: https://i.sstatic.net/0Z6bs.png

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display

You should see the following form (with different fields, of course).enter image description here

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. enter image description here

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"enter image description here

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp enter image description here

As a last thing: Screenshot, showing the different type of fields in Manage form Display: enter image description here

Update 2: It seems the following article has it explained how to do the exact thing you are looking for: https://www.previousnext.com.au/blog/making-drupal-8-datetime-widgets-use-human-formats

added 199 characters in body
Source Link
Oleg Videnov
  • 1.8k
  • 2
  • 15
  • 26

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display

You should see the following form (with different fields, of course).enter image description here[![enter image description here][1]][1]

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. enter image description here[![enter image description here][2]][2]

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"enter image description heretime"[![enter image description here][3]][3]

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp enter image description here[![enter image description here][4]][3]

As a last thing: Screenshot, showing the different type of fields in Manage form Display: [![enter image description here][5]][5]

Update 2: It seems the following article has it explained how to do the exact thing you are looking for: https://www.previousnext.com.au/blog/making-drupal-8-datetime-widgets-use-human-formats [1]: https://i.sstatic.net/NbcP5.png [2]: https://i.sstatic.net/Hl0oa.png [3]: https://i.sstatic.net/XvHQf.png [4]: https://i.sstatic.net/FCbbK.png [5]: enter image description herehttps://i.sstatic.net/0Z6bs.png

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display

You should see the following form (with different fields, of course).enter image description here

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. enter image description here

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"enter image description here

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp enter image description here

As a last thing: Screenshot, showing the different type of fields in Manage form Display: enter image description here

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display

You should see the following form (with different fields, of course).[![enter image description here][1]][1]

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. [![enter image description here][2]][2]

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"[![enter image description here][3]][3]

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp [![enter image description here][4]][3]

As a last thing: Screenshot, showing the different type of fields in Manage form Display: [![enter image description here][5]][5]

Update 2: It seems the following article has it explained how to do the exact thing you are looking for: https://www.previousnext.com.au/blog/making-drupal-8-datetime-widgets-use-human-formats [1]: https://i.sstatic.net/NbcP5.png [2]: https://i.sstatic.net/Hl0oa.png [3]: https://i.sstatic.net/XvHQf.png [4]: https://i.sstatic.net/FCbbK.png [5]: https://i.sstatic.net/0Z6bs.png

added 607 characters in body
Source Link
Oleg Videnov
  • 1.8k
  • 2
  • 15
  • 26

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display Youadmin/structure/types/manage/test/form-display

You should see the following form (with different fields, of course).enter image description here

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. enter image description here

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"enter image description here

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp enter image description here

As a last thing: Screenshot, showing the different type of fields in Manage form Display: enter image description here

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display You should see the following form (with different fields, of course).enter image description here

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. enter image description here

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"enter image description here

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp enter image description here

Assuming the machine name of your content type is "test".

Please navigate to: admin/structure/types/manage/test/form-display

You should see the following form (with different fields, of course).enter image description here

In my example, the name of the field is simply "date" . You can change the widget to Select list and then you will see the cog wheel on the right side of the row.

After clicking on it, you shall be able to choose your preferred Date Format. enter image description here

Hopefully that helps.

Update 1: Regarding Update In my default Drupal installation when I try to add date-based fields, I do have the following 2 options:

  • Date
  • Timestamp

Option Date I have suboptions, "Date only" or "Date and time"enter image description here

  • If I choose "Date and time" -> I am able to see the select widget as option.
  • If I choose "Date only" -> I am able to see the select widget as option.

Timestamp I am able to see only Datetime timestamp enter image description here

As a last thing: Screenshot, showing the different type of fields in Manage form Display: enter image description here

added 607 characters in body
Source Link
Oleg Videnov
  • 1.8k
  • 2
  • 15
  • 26
Loading
Source Link
Oleg Videnov
  • 1.8k
  • 2
  • 15
  • 26
Loading