Expand description

GraphQL support for chrono crate types.

§Supported types

Rust typeFormatGraphQL scalar
NaiveDateyyyy-MM-ddDate
NaiveTimeHH:mm[:ss[.SSS]]LocalTime
NaiveDateTimeyyyy-MM-dd HH:mm:ssLocalDateTime
DateTimeRFC 3339 stringDateTime

Traits§

Type Aliases§

  • Date in the proleptic Gregorian calendar (without time zone).
  • Combined date and time (with time zone) in RFC 3339 format.
  • Combined date and time (without time zone) in yyyy-MM-dd HH:mm:ss format.
  • Clock time within a given date (without time zone) in HH:mm[:ss[.SSS]] format.