Numéro d’ID de bogue |
BUG-000112240 |
Envoi | March 8, 2018 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS Pro |
Version trouvée | 2.1.2 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | N/A |
Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
1. The .csv provided stored the date field as text, which is not best practice. A date field is preferred.
2. We format time based on the machine locale settings,. To change to a 24 hour clock, you need to use the short time format HH:mm and long time format HH:mm:ss
3. The blank value for your second value is an unfortunate limitation of Excel and Pro: Excel does not actually support MM/dd/yyy HH:mm:ss. You have to store the date and time values independently. In order to enable time for a layer, the datetime has to be in one field. If you add a time field only, it imports correctly, but Pro won't recognize just the time field as a valid field to enable time on a layer.
4. "Midnight" is handled by Microsoft in this case. Midnight is truncated because the assumption is 5/22/2018 12:00:00 AM = 5/22/2018
There is a better work around for your needs (in terms of seeing the right value in the table), but it only works for editable tables (not .csv):
1. Open the "Convert Time Field" tool
2. Fill in the parameters as desired
3. The output time field would be MM/dd/yyyy HH:mm:ss
This field is text-only and will not be recognized as a time field, so if you need the layer to be time enabled, you will still have to use the DATE field if you want to interact with the time slider.
The documentation can be found here: http://pro.arcgis.com/en/pro-app/help/mapping/time/supported-field-formats.htm
Solution de contournement
Use the standard 12-hour clock time format 12:00 a.m.
Étapes pour reproduire
ID de bogue: BUG-000112240
Logiciel: