Skip to content

When entering a date value in textstring it gets parsed as a real date with time #19360

Open
@seanhakbb

Description

@seanhakbb

Which Umbraco version are you using?

15.4.1

Bug summary

When entering a date value in textstring it gets parsed as a real date with time

Specifics

No response

Steps to reproduce

Create/use a normal field of datatype textstring inside a block list (havent tested if this is for scenarios outside block list but possibly)

Enter date formatted like this: 2025-03-28
Publish page, go back to the block list item where u entered. the data should now say:
3/28/2025 12:00:00 AM +01:00 (the rendered value of Umbraco is also this in the template - so not just a render bug)

Expected result / actual result

Textstring field type should display and save content "as is", without any transformations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions