Skip to content

time: RFC3339 without time zone #5016

@gopherbot

Description

@gopherbot

by raul.san@sent.com:

The time stamps related to RFC3339 use a time zone but it would be useful to have them
also without time zone, so could be used in databases like SQLite3 and MySQL which have
SQL type for timestap without time zone.

The best solution would be:

    RFC3339Z     = "2006-01-02T15:04:05Z07:00"
    RFC3339NanoZ = "2006-01-02T15:04:05.999999999Z07:00"

    RFC3339     = "2006-01-02T15:04:05Z"
    RFC3339Nano = "2006-01-02T15:04:05.999999999Z"

And it is not a great problem for actual software.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions