Skip to content

Date ISO 8601 not supported? #621

Description

@Minipada

I have a date stored like this

token_expires_at = 0001-01-01T00:00:00Z

This is used in Gitlab CI runner configuration, which is autogenerated. Unfortunately, this is what I get with taplo:

error: invalid TOML
   ┌─ /config.toml:14:20
   │
14 │ token_expires_at = 0001-01-01T00:00:00Z
   │                    ^^^^^^^^^^^^^ expected value

error: invalid TOML
   ┌─ /config.toml:14:33
   │
14 │ token_expires_at = 0001-01-01T00:00:00Z
   │                                 ^ unexpected token

error: invalid TOML
   ┌─ /config.toml:14:34
   │
14 │ token_expires_at = 0001-01-01T00:00:00Z
   │                                  ^^ expected new line

error: invalid TOML
   ┌─ /config.toml:14:36
   │
14 │ token_expires_at = 0001-01-01T00:00:00Z
   │                                    ^ unexpected token

error: invalid TOML
   ┌─ /config.toml:14:37
   │
14 │ token_expires_at = 0001-01-01T00:00:00Z
   │                                     ^^^ expected new line

Is there any way I can go around it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions