# \[IGN-6978\] Datetime input component not respecting format property in 8.1.23

**URL:** <https://forum.inductiveautomation.com/t/ign-6978-datetime-input-component-not-respecting-format-property-in-8-1-23/68168>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [January 3, 2023, 3:14pm UTC](https://forum.inductiveautomation.com/t/ign-6978-datetime-input-component-not-respecting-format-property-in-8-1-23/68168 "2023-01-03T15:14:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Camden\_Griggs](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@Camden\_Griggs](https://forum.inductiveautomation.com/u/Camden_Griggs)\
**Post date:** [January 3, 2023, 3:14pm UTC](https://forum.inductiveautomation.com/t/ign-6978-datetime-input-component-not-respecting-format-property-in-8-1-23/68168/1 "2023-01-03T15:14:43Z")

</div>

Has anyone encountered an issue with the datetime input component in 8.1.23? Our users raised an issue where the seconds field was no longer present, and sure enough the field is missing on all projects running on 8.1.23. The format string for this object follows the moment.js documentation, but adding any token for seconds into the string does not bring up the seconds field in the component. Interestingly, the formattedValue property does respect the format string, showing seconds, meridiem, zone, etc. This seems to only impact the datetime input object, while the datetime picker object works just fine. See below screenshot comparing each, both with the same format string.

Anyone have ideas or workarounds? Unfortunately I need the condensed size of the datetime input object in my projects, otherwise I would replace it with the picker.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/2/d20f53c75480a2f47b8be964c71c2e5ecb2e56b0.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/5/a512296bdb6d0785e422dfc3e5fcacf112e30409.png)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 3, 2023, 5:17pm UTC](https://forum.inductiveautomation.com/t/ign-6978-datetime-input-component-not-respecting-format-property-in-8-1-23/68168/2 "2023-01-03T17:17:34Z")

</div>

This unintended behavior is likely the result of some changes we made to the DateTime components as part of 8.1.22. I've opened an internal ticket to get this fixed and back to the pre-existing behavior. Unfortunately, I don't see any workaround for now.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 16, 2023, 4:09am UTC](https://forum.inductiveautomation.com/t/ign-6978-datetime-input-component-not-respecting-format-property-in-8-1-23/68168/3 "2023-01-16T04:09:21Z")

</div>

This was supposedly merged into the nightly content this last week. You can check the nightly content to verify the behavior is what you expect, or wait for the 8.1.25 release.
