go-auth0 icon indicating copy to clipboard operation
go-auth0 copied to clipboard

Convert `management.UserDateSchema` to `time.Time`

Open haines opened this issue 2 months ago • 1 comments

Checklist

Describe the problem you'd like to have solved

In v1 user timestamp fields are *time.Time which makes them easy to use.

In v2 they are *management.UserDateSchema which is not easy to use.

Am I supposed to parse the String? What even is the StringUnknownMap?

Describe the ideal solution

Add a function or method to convert a UserDateSchema to a time.Time.

Alternatives and current workarounds

No response

Additional context

No response

haines avatar Oct 22 '25 11:10 haines

Hi @haines ,

Thank you for reporting!

We are looking into this issue. Will update here soon!

developerkunal avatar Oct 27 '25 13:10 developerkunal