spocke / purescript-js-date

JavaScript's native date type and corresponding functions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

purescript-js-date

Latest release Build Status Maintainer: garyb

JavaScript's native date type and corresponding functions.

Installation

bower install purescript-js-date

Documentation

This library provides the JSDate type and associated functions for interop purposes with JavaScript, but for working with dates in PureScript it is recommended that DateTime representation is used - DateTime offers greater type safety, a more PureScript-friendly interface, and has a Generic instance. There is a toDateTime provided for this conversion.

Module documentation is published on Pursuit.

About

JavaScript's native date type and corresponding functions.

License:MIT License


Languages

Language:PureScript 89.7%Language:JavaScript 10.3%