Skip to content

Convert date data to unserialized version in subject table #1150

@david-roper

Description

@david-roper

Current Behavior

Date types get serialized when they're communicated from frontend to backend and vice versa. However they should be unserialized before being displayed in the subject table.

Expected Behavior

When the subject table receives a serialized date the data should be unserialized before being displayed.

Browser

Firefox

Steps To Reproduce

mouse_touchscreen_form(1).zip

Use a form with a date variable in its zod schema such as the one attached.
upload bundle to an odc instance
fill out the form and view the subjects instrument record to view date value (ex: milkshake expiration date, etc.)

Additional Details

No response

Priority

Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions