opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
155 stars 8 forks source link

feature: DateTime Attribute Format Methods #3626

Open FragmentedPacket opened 1 month ago

FragmentedPacket commented 1 month ago

Component

No response

Describe the Feature Request

As a user I want to be able to select formats of DateTime fields within the GraphQL API similar to the options of IPAddress formats.

Describe the Use Case

I may want to be provided the RFC 3339 format of a DateTime attribute or even potentially the week, year, etc. when retrieving the data from the GraphQL API.

Additional Information

This may not be worth it, but I figured it may be helpful to provide this to users.

_Originally posted by @ajtmccarty in https://github.com/opsmill/infrahub/pull/3580#discussion_r1633252442_