{"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":"a6dc82e22a2ed2d5080165fb439d8a1d43f68a4c9ccc6363211eb9018a33e59e","isBugfix":0.9737,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9701,"feature":0.0076,"refactor":0.0084,"tests_only":0.0088,"docs_only":0.0024,"dependency":0.0027},"confidence":0.9296},"scope":{"score":0.9259,"probabilities":{"0":0.3528,"1":0.3685,"2":0.2787},"confidence":0.0069},"risk":{"score":0.294,"probabilities":{"0":0.7338,"1":0.2384,"2":0.0278},"confidence":0.394},"area":{"choice":"catalog","probabilities":{"catalog":0.7642,"checkout":0.0157,"customer":0.0046,"admin":0.056,"graphql_api":0.0037,"framework":0.0102,"frontend":0.1366,"other":0.009},"confidence":0.5501},"securityRelevant":0.0052,"reportedVersion":{"choice":"2.4.2","probabilities":{"2.4.0":0.0058,"2.4.0-p1":0.0034,"2.4.1":0.014,"2.4.1-p1":0.0056,"2.4.2":0.6164,"2.4.2-p1":0.0453,"2.4.2-p2":0.0604,"2.4.3":0.008,"2.4.3-p1":0.0067,"2.4.3-p2":0.009,"2.4.3-p3":0.0057,"2.4.4":0.0144,"2.4.4-p1":0.0099,"2.4.4-p10":0.0031,"2.4.4-p11":0.004,"2.4.4-p12":0.0036,"2.4.4-p13":0.0031,"2.4.4-p14":0.0039,"2.4.4-p15":0.0028,"2.4.4-p16":0.0029,"2.4.4-p17":0.0025,"2.4.4-p18":0.0026,"2.4.4-p2":0.0033,"2.4.4-p3":0.0028,"2.4.4-p4":0.0037,"2.4.4-p5":0.0035,"2.4.4-p6":0.0033,"2.4.4-p7":0.0033,"2.4.4-p8":0.003,"2.4.4-p9":0.0021,"2.4.5":0.0034,"2.4.5-p1":0.0025,"2.4.5-p10":0.0019,"2.4.5-p11":0.0023,"2.4.5-p12":0.0026,"2.4.5-p13":0.0022,"2.4.5-p14":0.0025,"2.4.5-p15":0.0021,"2.4.5-p16":0.0021,"2.4.5-p17":0.0023,"2.4.5-p2":0.0022,"2.4.5-p3":0.0021,"2.4.5-p4":0.0025,"2.4.5-p5":0.0025,"2.4.5-p6":0.0027,"2.4.5-p7":0.0025,"2.4.5-p8":0.0022,"2.4.5-p9":0.0017,"2.4.6":0.0037,"2.4.6-p1":0.0032,"2.4.6-p10":0.0028,"2.4.6-p11":0.0022,"2.4.6-p12":0.0027,"2.4.6-p13":0.0028,"2.4.6-p14":0.0029,"2.4.6-p15":0.0022,"2.4.6-p2":0.0024,"2.4.6-p3":0.0024,"2.4.6-p4":0.0037,"2.4.6-p5":0.0033,"2.4.6-p6":0.0027,"2.4.6-p7":0.0029,"2.4.6-p8":0.0023,"2.4.6-p9":0.0019,"2.4.7":0.0022,"2.4.7-p1":0.0021,"2.4.7-p10":0.0023,"2.4.7-p2":0.0022,"2.4.7-p3":0.003,"2.4.7-p4":0.0047,"2.4.7-p5":0.0032,"2.4.7-p6":0.0036,"2.4.7-p7":0.0036,"2.4.7-p8":0.0025,"2.4.7-p9":0.0021,"2.4.8":0.0025,"2.4.8-p1":0.0021,"2.4.8-p2":0.003,"2.4.8-p3":0.0028,"2.4.8-p4":0.0036,"2.4.8-p5":0.0028,"2.4.9":0.0039,"unspecified":0.0033},"confidence":0.3795},"backportWorthy":{"score":1.6554,"probabilities":{"0":0.0783,"1":0.1879,"2":0.7338},"confidence":0.3698}},"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"}