{"data":{"id":"magento2-38925","source":"github-pr","sourceRef":"magento/magento2#38925","title":"Date and Time Format for Custom Option Not Working","pr":{"number":38925,"url":"https://github.com/magento/magento2/pull/38925","author":"NitrogenUA","mergedAt":"2024-09-05T13:38:34Z","mergeCommit":"c3782a3dd6c714d31f1f591430fa5406be758676","headCommit":"5adc83d40b22caed795838ecf8bfdcefacef4ab0","baseRef":"2.4-develop","diffSha256":"0e5ee6f135318051558271f127ea249375e1ea005b11f3733bb42eebfd31101a"},"issues":[{"number":32990,"url":"https://github.com/magento/magento2/issues/32990","title":"Date and Time Format for Custom Option Not Working","labels":["Area: Catalog","Component: Catalog","Issue: Confirmed","Priority: P3","Progress: done","Reported on 2.4.2","Reproduced on 2.4.x"],"kind":"human"}],"fixedIn":"2.4.8","containingTags":["2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"reportedOn":"2.4.2","codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"conflict","2.4.8-p1":"conflict","2.4.8-p2":"conflict","2.4.8-p3":"conflict","2.4.8-p4":"conflict","2.4.8-p5":"conflict","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10"],"components":["magento/module-catalog"],"files":[{"path":"app/code/Magento/Catalog/Block/Product/View/Options/Type/Date.php","change":"modified","package":"magento/module-catalog"}],"stripped":{"tests":["app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminAddCustomizableOptionToSimpleProductActionGroup.xml","app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminConfigExpandDateAndTimeTabActionGroup.xml","app/code/Magento/Catalog/Test/Mftf/ActionGroup/AssertProductDateFormatInStorefrontActionGroup.xml","app/code/Magento/Catalog/Test/Mftf/ActionGroup/SelectDropdownDateAndTimeActionGroup.xml","app/code/Magento/Catalog/Test/Mftf/Section/AdminCustomizeDateAndTimeSection.xml","app/code/Magento/Catalog/Test/Mftf/Section/AdminProductCustomizableOptionSection.xml","app/code/Magento/Catalog/Test/Mftf/Section/StorefrontProductInfoMainSection.xml","app/code/Magento/Catalog/Test/Mftf/Test/AdminJsCalenderDateFormatTest.xml","app/code/Magento/Config/Test/Mftf/Section/CatalogSection/CatalogSection.xml"],"docs":[],"outsideCode":[]},"linesChanged":5,"mergeBatched":false,"excluded":null,"sections":{"description":"1. See result Below","stepsToReproduce":"1. [Follow these Steps](https://docs.magento.com/user-guide/stores/attribute-date-time-options.html) to Configure Date format\n2. Check Date of Product with Custom Options of type Date","expectedResult":"1. Date Format Should Change on Front-end","actualResult":"1. See result Below\n\n\nhttps://user-images.githubusercontent.com/51072292/117776610-353bae00-b255-11eb-90f2-37dab6fe7f0c.mp4\n\n\n\n\n\n---\nPlease provide [Severity](https://devdocs.magento.com/guides/v2.4/contributor-guide/contributing.html#backlog) assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.\n\n- [ ] Severity: **S0** _- Affects critical data or functionality and leaves users without workaround._\n- [ *] Severity: **S1** _- Affects critical data or functionality and forces users to employ a workaround._\n- [ ] Severity: **S2** _- Affects non-critical data or functionality and forces users to employ a workaround._\n- [ ] Severity: **S3** _- Affects non-critical data or functionality and does not force users to employ a workaround._\n- [ ] Severity: **S4** _- Affects aesthetics, professional look and feel, “quality” or “usability”._","source":"issue"},"signatures":[],"labels":{"area":["Catalog"],"component":["Catalog"],"priority":"P3","severity":null,"reportedOn":["2.4.2"]},"categories":["Catalog/Product"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"6326dba80d7e604edf2abaca9aac56df8b3ab6ddf94f7d69e800b4c5cbe8bb30","isBugfix":0.9774,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9649,"feature":0.0065,"refactor":0.008,"tests_only":0.0087,"docs_only":0.0024,"dependency":0.0024,"cleanup":0.0071},"confidence":0.9199},"scope":{"score":0.8823,"probabilities":{"0":0.3866,"1":0.3446,"2":0.2688},"confidence":0.0107},"risk":{"score":0.2916,"probabilities":{"0":0.7367,"1":0.2349,"2":0.0284},"confidence":0.3981},"area":{"choice":"catalog","probabilities":{"catalog":0.7453,"checkout":0.0145,"customer":0.0045,"admin":0.0535,"graphql_api":0.0036,"framework":0.0107,"frontend":0.16,"other":0.0079},"confidence":0.525},"securityRelevant":0.0051,"reportedVersion":{"choice":"2.4.2","probabilities":{"2.4.0":0.0053,"2.4.0-p1":0.0033,"2.4.1":0.0136,"2.4.1-p1":0.0052,"2.4.2":0.6339,"2.4.2-p1":0.0373,"2.4.2-p2":0.0673,"2.4.3":0.0071,"2.4.3-p1":0.0064,"2.4.3-p2":0.0083,"2.4.3-p3":0.0054,"2.4.4":0.0092,"2.4.4-p1":0.0076,"2.4.4-p10":0.0029,"2.4.4-p11":0.0038,"2.4.4-p12":0.0035,"2.4.4-p13":0.0032,"2.4.4-p14":0.0039,"2.4.4-p15":0.0028,"2.4.4-p16":0.0028,"2.4.4-p17":0.0026,"2.4.4-p18":0.0025,"2.4.4-p2":0.0034,"2.4.4-p3":0.0027,"2.4.4-p4":0.0035,"2.4.4-p5":0.0035,"2.4.4-p6":0.0032,"2.4.4-p7":0.0031,"2.4.4-p8":0.0031,"2.4.4-p9":0.0022,"2.4.5":0.0033,"2.4.5-p1":0.0024,"2.4.5-p10":0.0019,"2.4.5-p11":0.0023,"2.4.5-p12":0.0027,"2.4.5-p13":0.0022,"2.4.5-p14":0.0024,"2.4.5-p15":0.002,"2.4.5-p16":0.0019,"2.4.5-p17":0.0021,"2.4.5-p2":0.0022,"2.4.5-p3":0.0021,"2.4.5-p4":0.0026,"2.4.5-p5":0.0021,"2.4.5-p6":0.0025,"2.4.5-p7":0.0024,"2.4.5-p8":0.0022,"2.4.5-p9":0.0016,"2.4.6":0.0035,"2.4.6-p1":0.0029,"2.4.6-p10":0.0025,"2.4.6-p11":0.0022,"2.4.6-p12":0.0025,"2.4.6-p13":0.0027,"2.4.6-p14":0.0028,"2.4.6-p15":0.002,"2.4.6-p2":0.0022,"2.4.6-p3":0.0023,"2.4.6-p4":0.0034,"2.4.6-p5":0.0028,"2.4.6-p6":0.003,"2.4.6-p7":0.0029,"2.4.6-p8":0.0023,"2.4.6-p9":0.0018,"2.4.7":0.0022,"2.4.7-p1":0.002,"2.4.7-p10":0.0021,"2.4.7-p2":0.0021,"2.4.7-p3":0.0029,"2.4.7-p4":0.0044,"2.4.7-p5":0.0041,"2.4.7-p6":0.0036,"2.4.7-p7":0.0034,"2.4.7-p8":0.0024,"2.4.7-p9":0.002,"2.4.8":0.0024,"2.4.8-p1":0.0021,"2.4.8-p2":0.0027,"2.4.8-p3":0.0026,"2.4.8-p4":0.0037,"2.4.8-p5":0.0033,"2.4.9":0.0036,"unspecified":0.0031},"confidence":0.4017},"backportWorthy":{"score":1.6688,"probabilities":{"0":0.0731,"1":0.1851,"2":0.7418},"confidence":0.3849}},"curated":{"title":"Fixes the issue where date custom options ignore the configured date field order","description":"Catalog Date & Time Custom Options are not honoring the Date Fields Order set under Stores, Configuration, Catalog, Date & Time Custom Options when the JS calendar is used. In the Date block, getCalendarDateHtml now uses the configured date_fields_order as the calendar date format. When that order is m/d/y, it still uses getDateFormatWithLongYear.","categories":["Catalog/Product"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-38925 details"}