Legacy Knowledge Base
公開されました Sep. 10, 2025

カレンダーポートレットで、表示言語によって時刻の表示形式が異なる

Written By

Shimada Taro

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • カレンダーポートレットで予定の登録を行った場合に、表示言語によって時刻の表示形式が異なります

環境

  • Liferay Portal 6.2, Liferay DXP 7.0, Liferay DXP 7.1, Liferay DXP 7.2

解決

  • 時刻の表示形式は、カレンダーポートレットの「日付形式」の設定によって切り替えることができます。
    デフォルト設定の日付形式は「ロケール」となっており、表示言語が日本語の場合は「24時間」、英語の場合は「午前/午後」のように、表示言語によって形式が自動的に選択されます

「日付形式」設定によって、以下のように表示が変化します。

  • 午前/午後の場合:XX(予定開始時間) 予定名
  • 24時間の場合:XX:XX(予定開始時間) 予定名
  • ロケールの場合:言語に合わせた表示形式 

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base