- last update
10 months ago Composer require failure - last update
10 months ago 8 fail - Status changed to Needs review
10 months ago 1:30pm 6 February 2024 - 🇺🇦Ukraine sickness29
Hi @dww
I have another approach to this since PHP DateInterval does not natively support weeks I do not change any DataTypes to make them represent true php iso standards and not be some mess with ifs.
Instead I have added another column for weeks to store alondside and added getValue() method to field so duration and seconds are adjusted to have those weeks included.
I have also reviewed test since they are running badly on D10, fixed field creation and removed deprecated code. - last update
10 months ago 47 pass -
sickness29 →
committed 8207b09c on 8.x-2.x
Issue #3076250 by sickness29, gordon, ilgnerfagundes: Add support for...
-
sickness29 →
committed 8207b09c on 8.x-2.x
- Status changed to Fixed
7 months ago 1:34pm 21 May 2024 - Status changed to Needs work
6 months ago 9:42am 26 May 2024 - 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
- Upgrading drupal/duration_field (dev-2.x cdf331a => dev-2.x 20674f7): Checking out 20674f7714 from cache
This commit causes:
[
error] Cannot add field 'node__field_duration_hms.field_duration_hms_weeks': field already exists.
... when updating 2.0 dev from previous 2.0 dev and this breaks the site if it is part of a project update process since non of the required db updates can run being interrupted by this error.
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
Glad that I found my own report/comment here because I was falling into the same trap again ...
- Status changed to Fixed
3 months ago 2:39pm 10 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
6 days ago 3:55pm 28 November 2024 - 🇺🇸United States davemaxg
It may make sense to drop months in favor of weeks only because a month is the only duration option that is not consistently the same and could lead to bad assumptions and potential end user confusion since we're always converting into seconds.