{"id":26950545,"url":"https://github.com/formulae-org/package-time-js","last_synced_at":"2025-04-02T23:29:59.409Z","repository":{"id":187620981,"uuid":"628708182","full_name":"formulae-org/package-time-js","owner":"formulae-org","description":"Time package for Fōrmulæ, in JavaScript","archived":false,"fork":false,"pushed_at":"2025-02-24T04:46:32.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T05:30:16.799Z","etag":null,"topics":["daylight-saving-time","epoch","formulae","gregorian-calendar","javascript","time","time-formatting","time-visualization","timezone","timezone-offset"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/formulae-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-16T19:19:47.000Z","updated_at":"2025-02-24T04:46:36.000Z","dependencies_parsed_at":"2024-03-22T11:01:03.156Z","dependency_job_id":"b52d09ad-8aff-4d48-97a7-98907c9e9cd7","html_url":"https://github.com/formulae-org/package-time-js","commit_stats":null,"previous_names":["formulae-org/package-time-js"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-time-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-time-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-time-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-time-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formulae-org","download_url":"https://codeload.github.com/formulae-org/package-time-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246910509,"owners_count":20853594,"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":["daylight-saving-time","epoch","formulae","gregorian-calendar","javascript","time","time-formatting","time-visualization","timezone","timezone-offset"],"created_at":"2025-04-02T23:29:58.817Z","updated_at":"2025-04-02T23:29:59.396Z","avatar_url":"https://github.com/formulae-org.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# package-time-js\n\nTime package for the [Fōrmulæ](https://formulae.org) programming language.\n\nFōrmulæ is also a software framework for visualization, edition and manipulation of complex expressions, from many fields. The code for an specific field —i.e. arithmetics— is encapsulated in a single unit called a Fōrmulæ **package**.\n\nThis repository contains the source code for the **time package**. It is intended to the computation of expression related to time management under the gregorian calendar.\n\nThe GitHub organization [formulae-org](https://github.com/formulae-org) encompasses the source code for the rest of packages, as well as the [web application](https://github.com/formulae-org/formulae-js).\n\n\u003c!--\nTake a look at this [tutorial](https://formulae.org/?script=tutorials/Complex) to know the capabilities of the Fōrmulæ arithmetic package.\n--\u003e\n\n### Capabilities ###\n\n* Time expressions with precision of a millisecond\n* Friendly visualization of a time\n* Interactive creation of time expressions including the time zone\n* Programatic creation of time (in current or given time zone)\n* Both interactive and programmatic creation of a time expression work in lenient parsing\n* Retrieving a component of a time (in current or given time zone)\n   * Year (BC as negatives)\n   * Month as a symbol\n   * Month as a number\n   * Day of the month\n   * Weekday\n   * Hour of the day, in 24-hour format\n   * Minute\n   * Second\n   * Millisecond\n   * Time zone offset, in minutes. It always retrieves 0 if the current or given time zone does not observe dayling saving time\n   * Whether or not the time is in daylight saving time. It always retrieves false if the current or given time zone does not observe dayling saving time\n* Formatting a time expression (as a string)\n    * In the current or given locale\n    * In the current or given time zone\n* Conversion from/to an integer number (the epoch)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulae-org%2Fpackage-time-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformulae-org%2Fpackage-time-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulae-org%2Fpackage-time-js/lists"}