pact-time: Time Library for Pact

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

A minimal time library for usage with the Pact Smart Contract Language.

The focus of this library is on minimality, performance, and binary level stability. Time is represented as 64-bit integral value that counts nominal micro-seconds since the modified Julian date epoch (MJD). The implementation ignores leap seconds.

While the library can parse date-time values with time zones, internally all date-times are represented as UTC and formatting only supports UTC. Only the default English language locale is supported.

Details about supported formats can be found in the Pact Language Reference.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.3.0.0, 0.3.0.1
Change log CHANGELOG.md
Dependencies aeson (>=0.11), attoparsec (>=0.13), base (>=4.11 && <4.16), bytestring (>=0.10), cereal (>=0.5), clock (>=0.7.2), Decimal (>=0.4), deepseq (>=1.4), microlens (>=0.4), mtl (>=2.2), text (>=1.2), vector (>=0.12), vector-space (>=0.10) [details]
License BSD-3-Clause
Copyright Copyright (c) 2021 Kadena LLC.
Author Lars Kuhtz
Maintainer lakuhtz@gmail.com
Category Data, System
Home page https://github.com/kadena-io/pact-time
Bug tracker https://github.com/kadena-io/pact-time/issues
Source repo head: git clone https://github.com/kadena-io/pact-time.git
Uploaded by larsk at 2021-05-07T02:50:28Z

Modules

[Index] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
with-time

Use the time package for parsing and formatting

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for pact-time-0.1.0.0

[back to package description]

Pact-Time Library

A minimal time library for usage with the Pact Smart Contract Language.

The focus of this library is on minimality, performance, and binary level stability. Time is represented as a 64-bit integral value that counts nominal micro-seconds since the modified Julian date epoch (MJD). The implementation ignores leap seconds.

While the library can parse date-time values with time zones, internally all date-times are represented as UTC and formatting only supports UTC. Only the default English language locale is supported.

Details about supported formats can be found in the Pact Language Reference.