npm graphql-iso-date 3.0.0
v3.0.0

latest releases: 3.6.1, 3.5.0, 3.4.0...
7 years ago

Introduction of a set of date/time scalars that implement the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.

New

  • Scalar Time representing a time string at UTC.
  • Scalar DateTime representing a date-time string at UTC.

Improvements

  • Scalar Date can now be serialized from a date string. In earlier versions this scalar could only be serialized from a javascript Date instance.

Breaking

  • The Date scalar is no longer the default export. Instead, it is now a named export called GraphQLDate. In order to update from versions 2.x and below do the following:
+ import { GraphQLDate } from 'graphql-iso-date'
- import GraphQLDate from 'graphql-iso-date'

Don't miss a new graphql-iso-date release

NewReleases is sending notifications on new releases.