An open API service indexing awesome lists of open source software.

https://github.com/purescript/purescript-datetime

Date and time library for PureScript.
https://github.com/purescript/purescript-datetime

Last synced: 4 months ago
JSON representation

Date and time library for PureScript.

Awesome Lists containing this project

README

          

# purescript-datetime

[![Latest release](http://img.shields.io/github/release/purescript/purescript-datetime.svg)](https://github.com/purescript/purescript-datetime/releases)
[![Build status](https://github.com/purescript/purescript-datetime/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-datetime/actions?query=workflow%3ACI+branch%3Amaster)
[![Pursuit](https://pursuit.purescript.org/packages/purescript-datetime/badge)](https://pursuit.purescript.org/packages/purescript-datetime)

Date and time types and functions.

## Installation

```
spago install datetime
```

## Documentation

This libary provides platform-independent representations of date and time. Parsing specific date formats, such as the ISO 8601 format, is the responsibility of other libraries, such as the [purescript-js-date](https://github.com/purescript-contrib/purescript-js-date) package. Likewise, writing a date/time type to string to display to humans is the responsibility of other libraries, such as the [purescript-formatters](https://github.com/slamdata/purescript-formatters) package.

Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-datetime).