| Numéro d’ID de bogue |
BUG-000170371 |
| Envoi | August 29, 2024 |
| Dernière modification | June 19, 2025 |
| S’applique à | ArcGIS Maps SDK for .NET |
| Version trouvée | 200.5 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
The LongDateLongTime pattern that Maps SDK for .NET uses matches .NET's DateTimeFormatInfo.FullDateTimePattern for Japanese. For WPF apps that still target the .NET Framework, this format comes from Windows' National Language Support (NLS) and looks like this:
yyyy'年'M'月'd'日' H:mm:ss
2024年4月30日 19:44:34
For WPF apps that target .NET 8, this format comes from International Components for Unicode (ICU) and looks a bit different — now including day-of-the-week:
yyyy年M月d日dddd H:mm:ss
2024年4月30日火曜日 19:44:34
As for the 12-vs-24-hour behavior, there is no general way to force PopupDateFormat to use the 12-hour format in Japanese locales. This is by design and described in our documentation:
https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Mapping.Popups.PopupDateFormat.html
Formats that end with -24 always use 24-hour time. The rest of the formats use either 12-hour or 24-hour time based on the current culture (e.g. 5:59 PM or 17:59 or 오후 5:59).
Étapes pour reproduire
ID de bogue: BUG-000170371
Logiciel: