Skip to content

os/gtime: The gtime.Time format returned by the interface is a standard format, and I hope you can customize the configuration #4205

Open
@sunxiaolong321

Description

@sunxiaolong321

Is your feature request related to a problem?

Option Yes

Describe the solution you'd like

如题,希望可以自定义配置v2规范路由中gtime.Time返回数据的格式,以便支持更广泛的功能,比如时区国际化。

Describe alternatives you've considered

现在返回的格式是:2025-02-24 15:54:26,希望可以在设置中添加自定义配置项自定义配置返回的格式,比如可以返回毫秒,纳秒或者年月日等格式

Additional

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions