Skip to content

Easy Timezone management for Responses #1258

@tkoehlerlg

Description

@tkoehlerlg

What is the problem this feature would solve?

Would love to have a timeZone parameter in for example set to easily set a response timezone for t.Date() transformation to string. Currently i would have to set the response object to t.String() and then format the string to a timezone myself. I saw in the elysia code that forcing a timeZone is possible in the response transformation so it would be amazing if we could use it.

What is the feature you are proposing to solve the problem?

timeZone parameter somewhere to set to change the transform behavior after t.Date()

What alternatives have you considered?

Setting the response to t.String and transforming the Date object with a timezone myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions