edtf.js - Extended Date Time Format (ISO 8601-2 / EDTF) Parser for Javascript

  •        146

An Extended Date Time Format (EDTF) / ISO 8601-2 parser and toolkit for date/time hackers and enthusiasts. Symbols for unknown and open dates in intervals have been switched: * makes more sense to represent an open date because it is often used as a wildcard to match "all" or "everything". Also, when an interval is blank, it suggessts "incomplete" or "unknown".



nearley : ^2.11.1
randexp : ^0.4.8



Related Projects

js-joda - :clock2: Immutable date and time library for javascript

  •    Javascript

js-joda is an immutable date and time library for javascript. It provides a simple, domain-driven and clean API based on the ISO8601 calendar. js-joda has a lightweight footprint, only 46 kB minified and compressed, no third party dependencies.


  •    Objective-C

A Cocoa NSFormatter subclass to convert dates to and from ISO-8601-formatted strings. Supports calendar, week, and ordinal formats.

Joda Time - Java Date and Time API

  •    Java

Joda-Time provides a quality replacement for the Java date and time classes. The standard date and time classes prior to Java SE 8 are poor. By tackling this problem head-on, Joda-Time has become the de facto standard date and time library for Java. The design allows for multiple calendar systems, while still providing a simple API. The 'default' calendar is the ISO8601 standard which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also included.

lark - A modern parsing library for Python, implementing Earley & LALR(1) and an easy interface

  •    Python

Beginners: Lark is not just another parser. It can parse any grammar you throw at it, no matter how complicated or ambiguous, and do so efficiently. It also constructs a parse-tree for you, without additional code on your part. Experts: Lark lets you choose between Earley and LALR(1), to trade-off power and speed. It also contains a CYK parser and experimental features such as a contextual-lexer.


  •    JQuery

A super-lightweight, highly configurable, cross-browser date picker jQuery plugin.

CalendarPicker - CalendarPicker Component for React Native

  •    Javascript

Note: react-native-calendar-picker v5 is a complete re-write of the calendar. This calendar is now written using ES6 syntax. I kept most of the same functionalities and added support for date ranges. CalendarPicker requires Moment JS. Date props may be anything parseable by Moment: Javascript Date, Moment date, or ISO8601 datetime string.

chronic - Chronic is a pure Ruby natural language date parser.

  •    Ruby

Chronic is a natural language date/time parser written in pure Ruby. See below for the wide variety of formats Chronic will parse. If the parser can find a date or time, either a Time or Chronic::Span will be returned (depending on the value of :guess). If no date or time can be found, nil will be returned.

Joda - Time

  •    Java

Joda-Time provides a library of classes to replace the Java JDK Date and Time classes including formatting. It is based around the ISO8601 datetime standard, but also provides full support for other calendar systems, such as Gregorian and Buddhist. Source code moved to GitHub: https://github.com/JodaOrg/joda-time

spacetime - A lightweight javascript timezone library

  •    Javascript

Make add, subtract, hour, date, day, month, quarter, and goto methods all return a new instance of Spacetime leaving original date instance unmutated. There is another situation where you may see a console.warn - if you give it a timezone, but then set a ISO-date string with a different offset, like 2017-04-03T08:00:00-0700 (-7hrs UTC offset). It sets the timezone to UTC-7, but also gives a warning.


  •    CSharp

.NET Date Time Parser class. It finds the first instance of date and/or time within the passed string and converts it into DateTime. It's somewhat like Perl's str2time() or PHP's strtotime(). See more in codeproject article 'C# Date Time Parser'

date - Date() for humans

  •    Javascript

Date is an english language date parser for node.js and the browser. date.js now has much better NLP support.

when - A natural language date/time parser with pluggable rules

  •    Go

Check EN and RU rules and tests for them, for more examples.Needed rule not found? Open an issue with the case and it will be added asap.

Human Interval - Human readable time distances for javascript

  •    Javascript

Human readable interval parser for Javascript. Human Interval supports numbers up to ten being written out in English. If you want to extend it, you can do so by adding more keys to the language map. Alternatively you could add support for alternative languages.

moment - Parse, validate, manipulate, and display dates in javascript.

  •    Javascript

A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.Moment 2.10.0 does not bring any new features, but the code is now written in ECMAScript 6 modules and placed inside src/. Previously moment.js, locale/*.js and test/moment/*.js, test/locale/*.js contained the source of the project. Now the source is in src/, temporary build (ECMAScript 5) files are placed under build/umd/ (for running tests during development), and the moment.js and locale/*.js files are updated only on release.

sql-parser - A SQL parser written in pure JS

  •    Javascript

SQL Parser is a lexer, grammar and parser for SQL written in JS. Currently it is only capable of parsing fairly basic SELECT queries but full SQL support will hopefully come in time. See the specs for examples of currently supported queries. The package is distributed on NPM and can be installed with...

covid-19-open-data - Datasets of daily time-series data related to COVID-19 for over 20,000 distinct locations around the world

  •    Python

The data is drawn from multiple sources, as listed below, and stored in separate tables as CSV files grouped by context, which can be easily merged due to the use of consistent geographic (and temporal) keys as it is done for the main table. 1 key is a unique string for the specific geographical region built from a combination of codes such as ISO 3166, NUTS, FIPS and other local equivalents. 2 Refer to the data sources for specifics about each data source and the associated terms of use. 3 Datasets without a date column contain the most recently reported information for each datapoint to date.

Inukshuk CLI Utilities

  •    C

Inukshuk is a set of utilities that replicate some features found in graphical software, but are instead written for command-line use.

Datejs - A JavaScript Date Library

  •    Javascript

Datejs is an open source JavaScript Date library for parsing, formatting and processing. Comprehensive, yet simple, stealthy and fast. Datejs has passed all trials and is ready to strike. Datejs doesn’t just parse strings, it slices them cleanly in two.

lubridate - Make working with dates in R just that little bit easier

  •    R

Date-time data can be frustrating to work with in R. R commands for date-times are generally unintuitive and change depending on the type of date-time object being used. Moreover, the methods we use with date-times must be robust to time zones, leap days, daylight savings times, and other time related quirks, and R lacks these capabilities in some situations. Lubridate makes it easier to do the things R does with date-times and possible to do the things R does not. If you are new to lubridate, the best place to start is the date and times chapter in R for data science.

Luxon - A library for working with dates and times in JS

  •    Javascript

Luxon is a library for working with dates and times in Javascript. It supports DateTime, Duration, and Interval types. It is Immutable, chainable and it can parse and formatting for common and custom formats.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.