legacy-knowledge-base
公開されました Jul. 2, 2025

ブラウザのコンソールに非推奨の警告が表示されます。"提供された値は認識されたRFC2822またはISOフォーマットではありません"

written-by

Alfonso Crisci

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • LPS-121066 および LPS-121499の解決策を含む修正(Fix PackまたはHotfix)を含むバンドルにパッチを適用した後、お客様およびDXPユーザーは、ブラウザのコンソールに以下の警告メッセージが表示されることがあります。
    Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
    Arguments:
    [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 09/14/2020, _f: undefined, _strict: undefined, _locale: [object Object]
    deprecate/<@http://localhost:8080/combo/?browserId=firefox&minifierType=&languageId=de_DE&b=7210&t=1601990324650&/o/js/resolved-module/dynamic-data-mapping-form-field-type@4.0.66/Paragraph/ParagraphRegister.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-field-type@4.0.66/util/strings.es.js&/o/js/resolved-module/dynamic-data-mapping-form-field-type@4.0.66/Options/OptionsRegister.soy.js&/o/js/resolved-module/dynamic-data-mapping-form-field-type@4.0.66/Captcha/CaptchaRegis…

環境への配慮

  • Liferay DXP 7.2

決議

  • この警告は無視しても大丈夫です。 これは、 moment.js から来ている非推奨の警告であり、日付ピッカーに悪影響を与えるものではありません。

追加情報

  • DXP 7.3では、React.jsで のdatePicker が再実装され、この警告が再現できなくなりました。
did-this-article-resolve-your-issue

legacy-knowledge-base