The Needs Review Queue Bot โ tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐บ๐ธUnited States sgroundwater
The workaround in #87 is such a good tip. This is just what I needed.
{{ field_reservation_time__value|date('U') }}
{{ field_reservation_time__end_value|date('U') }} - ๐ซ๐ทFrance dqd London | N.Y.C | Paris | Hamburg | Berlin
Awesome work done here +1 Apart from the work around commented last time, we all do actually need/want progress here, I assume?. Can someone of the patch and discussion involved sum up what the bottom line of to-do's is up-to-date so that others can chime in to help? Last useful comment I found was #75 (thanks, agreed) Would love to know more about the back and forth thoughts on this to not blindly add wrong directions.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - ๐ง๐ชBelgium herved
Reroll of #86 for current 10.1.x (interdiff empty).
I'm re-adding the patch for optional_end_date module as well, for more visibility. - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 29,492 pass - last update
over 1 year ago 30,090 pass - Status changed to Needs review
over 1 year ago 3:32pm 29 August 2023 - ๐ท๐ดRomania vasike Ramnicu Valcea
the latest patch seems also 11.x compatible. so Back to Review
- Status changed to Needs work
over 1 year ago 5:52pm 30 August 2023 - ๐บ๐ธUnited States smustgrave
Not sure if an empty post update hook will get the needed changes.
Will need upgrade path tests to verify.
- First commit to issue fork.
- Merge request !4841Issue #2827055: Add option to show only start or end date in the DateTime Range custom formatter โ (Closed) created by srishtiiee
- last update
about 1 year ago Unable to generate test groups - last update
about 1 year ago Unable to generate test groups - last update
about 1 year ago 30,195 pass, 1 fail - last update
about 1 year ago 30,195 pass, 1 fail - last update
about 1 year ago 30,196 pass - Status changed to Needs review
about 1 year ago 4:55am 22 September 2023 - ๐ฎ๐ณIndia srishtiiee
Added an upgrade path and a test for the new formatter setting.
- Status changed to Needs work
about 1 year ago 4:58pm 24 September 2023 - ๐บ๐ธUnited States smustgrave
Thanks! Upgrade paths are there so removing tag.
Think last thing we will need is a change record, maybe release notes.
- Status changed to Needs review
about 1 year ago 8:38am 25 September 2023 - Status changed to RTBC
about 1 year ago 2:37pm 25 September 2023 - ๐บ๐ธUnited States smustgrave
On Standard install on 11.x
Installed daterange module
Applied patch
Ran post_update and that ran fine.
Add a daterange field to the Article content type
Verified the config options are there.
Set to only show Start dateCreated an Article and fill in daterange field
Verified start date is only shown.Update to only show end date.
Verified end date is only shown.Updated to show both
Verified both are shown.Also seems points in #30 have been address
- last update
about 1 year ago 30,236 pass - last update
about 1 year ago 30,388 pass - Status changed to Needs work
about 1 year ago 4:08pm 27 September 2023 - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago 30,392 pass - last update
about 1 year ago 30,389 pass - Status changed to Needs review
about 1 year ago 6:47am 29 September 2023 - Status changed to Needs work
about 1 year ago 8:22am 4 October 2023 - last update
about 1 year ago 30,405 pass - Status changed to Needs review
about 1 year ago 1:04pm 5 October 2023 - Status changed to RTBC
about 1 year ago 5:20pm 11 October 2023 - ๐บ๐ธUnited States smustgrave
Appears all threads have been answered.
- last update
about 1 year ago 30,421 pass - last update
about 1 year ago 30,425 pass - last update
about 1 year ago 30,425 pass - last update
about 1 year ago 30,443 pass - last update
about 1 year ago 30,448 pass - last update
about 1 year ago 30,454 pass - last update
about 1 year ago 30,462 pass - last update
about 1 year ago 30,466 pass - Status changed to Needs work
about 1 year ago 1:52pm 27 October 2023 - ๐ซ๐ฎFinland lauriii Finland
Good progress on this! Posted couple more comments on the MR.
- Status changed to Needs review
about 1 year ago 1:24pm 31 October 2023 - Status changed to RTBC
about 1 year ago 11:41am 2 November 2023 - ๐ฎ๐ณIndia narendraR Jaipur, India
Tested feature manually and reviewed implemented code. Changes looks good to me.
- last update
about 1 year ago 30,512 pass - last update
about 1 year ago 30,515 pass - last update
about 1 year ago 30,517 pass - last update
about 1 year ago 30,539 pass - last update
about 1 year ago 30,545 pass - last update
about 1 year ago 30,548 pass - last update
about 1 year ago 30,559 pass - Status changed to Needs work
about 1 year ago 7:19am 16 November 2023 - ๐ซ๐ฎFinland lauriii Finland
Added comment on the MR regarding the update path.
- ๐ฎ๐ณIndia yash.rode pune
yash.rode โ made their first commit to this issueโs fork.
- Status changed to Needs review
about 1 year ago 12:40pm 20 November 2023 - Status changed to RTBC
about 1 year ago 2:58pm 20 November 2023 - ๐บ๐ธUnited States smustgrave
Appears additional feedback has been addressed. Don't see any outstanding tags or anything.
Update hook ran fine locally and tests are all green.
ReRTBC
- last update
about 1 year ago 30,633 pass - last update
about 1 year ago 30,634 pass - Status changed to Needs work
about 1 year ago 6:59am 24 November 2023 - ๐ฎ๐ณIndia yash.rode pune
I have addressed the feedback, except https://git.drupalcode.org/project/drupal/-/merge_requests/4841#note_234897. Does anyone have any alternative way of doing this.
- ๐ต๐ฐPakistan Ahmed.Raza
Here I've worked on a small module, which basically introduces a new format which has this option dropdown to choose from start or end date to show on the frontend.
- Status changed to Needs review
about 1 year ago 9:00am 28 November 2023 - ๐ต๐ฐPakistan Ahmed.Raza
I don't think this should be added back to the core, if it was removed from Drupal 8 upwards, there must have been a good reason for this. I think its best suited to be added via some contrib module. Here I've worked on a small module that provides a formatter from where you can choose which date value to show Start or End date. https://www.drupal.org/project/start_end_date_format โ
- Status changed to RTBC
about 1 year ago 2:16pm 29 November 2023 - ๐บ๐ธUnited States smustgrave
@ahmed.raza if you can find that ticket where it was removed and the reason it was removed that would help, but currently this ticket has momentum and several active participants.
Retested same as #102
On Standard install on 11.x
Installed daterange module
Applied patch
Ran post_update and that ran fine.
Add a daterange field to the Article content type
Verified the config options are there.
Set to only show Start dateCreated an Article and fill in daterange field
Verified start date is only shown.Update to only show end date.
Verified end date is only shown.Updated to show both
Verified both are shown.Believe all feedback has been addressed as well. Think the 10.2 window may have been missed but think it could be a highlight of 10.3?
- last update
about 1 year ago 30,713 pass - last update
about 1 year ago 30,717 pass - last update
12 months ago 30,717 pass - last update
12 months ago 30,717 pass - last update
12 months ago 30,725 pass - ๐บ๐ธUnited States brad.bulger
This is off-topic, but has there been any thought of adding the start and end date values as separate field choices, similar to how for multivalue fields your choices are field_myvalue and field_myvalue:delta?
- last update
12 months ago 30,727 pass - last update
12 months ago 30,741 pass - last update
12 months ago Custom Commands Failed - last update
12 months ago Custom Commands Failed - last update
12 months ago Custom Commands Failed - last update
12 months ago Custom Commands Failed - last update
12 months ago Custom Commands Failed - last update
12 months ago Custom Commands Failed - last update
11 months ago Custom Commands Failed - last update
11 months ago Custom Commands Failed - Status changed to Needs work
11 months ago 7:23am 28 December 2023 - ๐ณ๐ฟNew Zealand quietone
I'm triaging RTBC issues โ . I read the IS, skimmed the comments from my last visit here (#75), the MR and the change record.
Thank you for the release note snippet. In the future, it could be less detailed because it will be linked to the change record which can have all the details. After looking at the MR I think the images in the change record are outdated because the casing of the new text has changed.
#120 questions whether this should be done because it was removed from Drupal 8. There has been no investigation into that history. However, a product manager has been reviewing this issue so that is a good indication that this is a desired feature.
I see that this is a very large change
12 files + 728 โ 69
, larger than the recommended change size โ . That makes this challenging. Is there any way to reduce the size? I made two comments on the MR and both require work.There are also other unresolved threads in the MR some of which were not minor changes.
Still, this is in good shape and close!
- Status changed to Needs review
11 months ago 9:55am 5 January 2024 - ๐ฎ๐ณIndia yash.rode pune
I see that this is a very large change 12 files + 728 โ 69, larger than the recommended change size. That makes this challenging. Is there any way to reduce the size? I made two comments on the MR and both require work.
not sure about what can be done.
There are also other unresolved threads in the MR some of which were not minor changes.
All the threads are addressed, but I cannot close them, please close them who created the MR.
Other than this, I have addressed all the feedbacks.
- Status changed to RTBC
11 months ago 3:17pm 5 January 2024 - ๐บ๐ธUnited States smustgrave
Believe additional feedback has been addressed.
@quietone there's ๐ Subsystem maintainer permissions on GitLab Needs work where hopefully submaintainers can help core committers by closing threads. But currently no one but the person who opened the MR can close the threads.
- last update
11 months ago 26,014 pass, 1,816 fail - ๐จ๐ญSwitzerland Lukas von Blarer
The current MR worked perfectly for a field formatter in a view. Thank you!
- last update
11 months ago 25,978 pass, 1,832 fail - last update
11 months ago 25,996 pass, 1,821 fail - ๐ฉ๐ชGermany tomsaw Essen
MR !4841 does not apply cleanly in Drupal 10.2.2
Varioususe
statements are missing indatetime_range.module
.
Once these are copy&paste from unpatched file, this patch works great!Thank you โฅ
- ๐ณ๐ฟNew Zealand quietone
Ah, this is my third visit here for triage. The recent changes are from my feedback and they have been addressed.
Leaving at RTBC.
- Status changed to Needs review
9 months ago 12:52pm 28 February 2024 - ๐ฌ๐งUnited Kingdom catch
Overall this looks very solid - I had one comment on the presave/post update on the MR.
- Status changed to Needs work
9 months ago 1:34pm 28 February 2024 The Needs Review Queue Bot โ tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐ฎ๐ณIndia omkar.podey
omkar.podey โ made their first commit to this issueโs fork.
- Status changed to Needs review
9 months ago 10:56am 1 March 2024 - Status changed to RTBC
9 months ago 2:54pm 1 March 2024 - ๐บ๐ธUnited States smustgrave
Restoring status.
Depending when this lands can probably open a follow up ticket immediately for 11.x. removal right?
- Status changed to Fixed
9 months ago 3:08pm 1 March 2024 - ๐ฌ๐งUnited Kingdom catch
Depending when this lands can probably open a follow up ticket immediately for 11.x. removal right?
No - because the post update will have to be removed once database fixtures are updated, and that should happen only once when we're not going to commit any more to-be-removed updates to 10.3 (probably very close to the 10.3 beta deadline).
Thanks for adding the @todo.
Committed/pushed to 11.x and cherry-picked to 10.3.x, thanks!
Did my best with issue credit here, but it's a long issue with lots of contributors, so apologies if anyone got overlooked.
- ๐บ๐ธUnited States DamienMcKenna NH, USA
Should this be included in the 10.3 highlights list?
- ๐บ๐ธUnited States smustgrave
113 followers over 9 years I would definitely vote yes for highlighting it
- Status changed to Needs work
9 months ago 12:10pm 2 March 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
This broke PHP 8.1. It does not support DateTimeRangeDisplayOptions::START_DATE->value
Have to revert sorry.
-
alexpott โ
committed e27f5292 on 10.3.x
Revert "Issue #2827055 by yash.rode, srishtiiee, mrshowerman,...
-
alexpott โ
committed e27f5292 on 10.3.x
-
alexpott โ
committed 975a03af on 11.x
Revert "Issue #2827055 by yash.rode, srishtiiee, mrshowerman,...
-
alexpott โ
committed 975a03af on 11.x
- ๐ฌ๐งUnited Kingdom catch
Let's rework this so it's 8.1 compatible, commit to both branches, then we can open a follow-up to use the PHP 8.2 feature.
- Status changed to Needs review
9 months ago 1:37pm 2 March 2024 - ๐ฉ๐ชGermany mrshowerman Munich
Converted the enum back to an interface, which should be 8.1 compatible.
- Status changed to RTBC
9 months ago 6:26pm 2 March 2024 - ๐บ๐ธUnited States smustgrave
Opened ๐ [11.x] php 8.3 follow up for enum in Datetime range formatter Active for the php 8.2 part.
- Status changed to Needs work
9 months ago 11:26pm 2 March 2024 - ๐ฎ๐นItaly mondrake ๐ฎ๐น
Please make test data providers static methods.
- Status changed to Needs review
9 months ago 11:18am 3 March 2024 - ๐ท๐ดRomania vasike Ramnicu Valcea
- Made test data providers static methods.
- Some CS for more "readability"
- Added follow-up issue url for @todo comment.put back on Needs Review and Version 11.x - as the MR is against this version
p.s. for "no reason" there was a Nightwatch failure for tests/Drupal/Nightwatch/Tests/Olivero/oliveroPrimaryTabsTest.js
but it passed ... on a second attempt. - Status changed to RTBC
9 months ago 5:09pm 3 March 2024 - Status changed to Needs work
9 months ago 5:11pm 8 March 2024 The Needs Review Queue Bot โ tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- Status changed to RTBC
9 months ago 9:24am 9 March 2024 - ๐ท๐ดRomania vasike Ramnicu Valcea
it seems there was update that brroke things on CSpell https://www.drupal.org/project/drupal/issues/3420742 ๐ Fix words in test string by changing the string Fixed
updated and put back on previous status. - ๐ซ๐ทFrance dqd London | N.Y.C | Paris | Hamburg | Berlin
Glad to see this rolling! +1 for all the hard work in here. Also RTBC from me by local testing.
- Status changed to Fixed
8 months ago 8:22am 1 April 2024 - ๐ฌ๐งUnited Kingdom catch
Committed/pushed to 11.x and cherry-picked to 10.3.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.
- ๐จ๐ฆCanada teknocat
Why doesn't this work at all when applied as a patch to Drupal 10?
- ๐ช๐ธSpain Carlos Romero
Carlos Romero โ made their first commit to this issueโs fork.
- Merge request !8355Add option to show only start or end date in the DateTime Range custom formatter โ (Closed) created by Carlos Romero
- Merge request !8356Add option to show only start or end date in the DateTime Range custom formatter โ (Closed) created by Carlos Romero
- ๐บ๐ธUnited States vetchneons
I am running into the same issue as @teknocat. The following patch fails for me when upgrading to 10.3.1:
https://git.drupalcode.org/project/drupal/-/commit/fcd17502ff4e0a3599022...
- ๐บ๐ธUnited States vetchneons
Ignore my previous comment. For anyone else that was using the patch, and looking to upgrade to 10.3.1 from 10.2.x, this change was added to 10.3.0.
- ๐บ๐ธUnited States loze Los Angeles
Im using 10.3.0 and trying to show the start date only in views, but both dates are shown even though I have "Display start date only" selected in the field formatter. Am I missing something?