{"id":15217930,"url":"https://github.com/buschtoens/ember-joda","last_synced_at":"2025-10-03T10:30:24.788Z","repository":{"id":57223931,"uuid":"94753043","full_name":"buschtoens/ember-joda","owner":"buschtoens","description":":clock2: js-joda — immutable date and time library for Ember.js","archived":true,"fork":false,"pushed_at":"2020-06-02T16:04:32.000Z","size":3089,"stargazers_count":10,"open_issues_count":43,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-21T09:30:33.907Z","etag":null,"topics":["date","ember","ember-addon","emberjs","time"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buschtoens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-19T08:17:09.000Z","updated_at":"2024-05-30T03:17:07.000Z","dependencies_parsed_at":"2022-08-30T02:10:40.843Z","dependency_job_id":null,"html_url":"https://github.com/buschtoens/ember-joda","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buschtoens%2Fember-joda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buschtoens%2Fember-joda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buschtoens%2Fember-joda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buschtoens%2Fember-joda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buschtoens","download_url":"https://codeload.github.com/buschtoens/ember-joda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235109315,"owners_count":18937241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["date","ember","ember-addon","emberjs","time"],"created_at":"2024-09-28T12:08:12.828Z","updated_at":"2025-10-03T10:30:19.410Z","avatar_url":"https://github.com/buschtoens.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ember-joda\n\n![Supported Ember versions](https://embadge.io/v1/badge.svg?label=ember\u0026start=2.12.0)\n[![Build Status](https://travis-ci.org/buschtoens/ember-joda.svg?branch=master)][travis]\n[![Code Climate](https://codeclimate.com/github/buschtoens/ember-joda/badges/gpa.svg)][codeclimate]\n[![Coverage](https://codeclimate.com/github/buschtoens/ember-joda/badges/coverage.svg)][codeclimate]\n[![npm version](https://badge.fury.io/js/ember-joda.svg)][npm]\n[![Ember Observer Score](https://emberobserver.com/badges/ember-joda.svg)][e-observer]\n[![npm downloads](https://img.shields.io/npm/dt/ember-joda.svg)][npm]\n[![Greenkeeper badge](https://badges.greenkeeper.io/buschtoens/ember-joda.svg)](https://greenkeeper.io/)\n[![dependencies Status](https://david-dm.org/buschtoens/ember-joda/status.svg)](https://david-dm.org/buschtoens/ember-joda)\n[![devDependencies Status](https://david-dm.org/buschtoens/ember-joda/dev-status.svg)](https://david-dm.org/buschtoens/ember-joda?type=dev)\n\n:clock2: [**js-joda**][joda] — immutable date and time library for [**Ember.js**][ember]\n\n[joda]:        https://github.com/js-joda/js-joda\n[ember]:       https://github.com/emberjs/ember.js\n[npm]:         https://www.npmjs.com/package/ember-joda\n[travis]:      https://travis-ci.org/buschtoens/ember-joda\n[codeclimate]: https://codeclimate.com/github/buschtoens/ember-joda\n[e-observer]:  https://emberobserver.com/addons/ember-joda\n\nInstallation\n------------------------------------------------------------------------------\n\n```\n$ ember install ember-joda\n```\n\nOnly compatible with Ember 2.12 and onwards. Compatibility with Ember 2.8 LTS [is planned](https://github.com/buschtoens/ember-joda/issues/3).\n\n## Usage\n\n### js-joda\n\n\u003e **js-joda** is an **immutable date and time library** for javascript. It provides a **simple, domain-driven and clean API** based on the [**ISO8601**](https://en.wikipedia.org/wiki/ISO_8601) calendar.\n\u003e\n\u003e js-joda is a **port of the threeten backport**, that is the base for JSR-310 implementation of the Java SE 8 `java.time` package. Threeten is inspired by **Joda-Time**, having similar concepts and the same author.\n\u003e\n\u003e js-joda is **robust and stable**. We ported more then 1,700 test-cases with lots of test permutations from the threetenbp project. We run the automated karma test-suite against Firefox, Chrome, Node and phantomjs.\n\n- :page_facing_up: [Cheat Sheet](https://github.com/js-joda/js-joda/blob/master/CheatSheet.md)\n- :books: [API Docs](https://js-joda.github.io/js-joda/esdoc/)\n- :octocat: [GitHub Repository](https://github.com/js-joda/js-joda)\n- :calendar: [Domain Models](https://github.com/js-joda/js-joda#the-threeten-domain-models)\n\n### Importing js-joda classes\n\nAll [exports of js-joda](https://github.com/js-joda/js-joda/blob/master/src/js-joda.js) are dynamically re-exported as the `ember-joda` module. This means you can import them like so:\n\n```js\nimport { LocalDate, YearMonth } from 'ember-joda';\n```\n\nYou could also directly access the `js-joda` module and load the original,\nunwrapped js-joda classes:\n\n```js\nimport { LocalDate, YearMonth } from 'js-joda';\n// or\nimport { LocalDate } from 'js-joda/LocalDate';\nimport { YearMonth } from 'js-joda/YearMonth';\n```\n\n### Ember Data Transforms\n\nAll [js-joda domain models](https://github.com/js-joda/js-joda#the-threeten-domain-models) are available as transforms.\n\n```js\n// app/models/user.js\nimport Model from 'ember-data/model';\nimport attr from 'ember-data/attr';\n\nexport default Model.extend({\n  birthdate: attr('local-date')\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuschtoens%2Fember-joda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuschtoens%2Fember-joda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuschtoens%2Fember-joda/lists"}