{"id":18723251,"url":"https://github.com/apjanke/octave-chrono","last_synced_at":"2025-04-12T14:53:56.420Z","repository":{"id":69291046,"uuid":"165488534","full_name":"apjanke/octave-chrono","owner":"apjanke","description":"Date/time classes for GNU Octave","archived":false,"fork":false,"pushed_at":"2022-09-11T22:11:04.000Z","size":5450,"stargazers_count":9,"open_issues_count":4,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-06T12:02:54.368Z","etag":null,"topics":["datetime","octave"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apjanke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-01-13T09:39:28.000Z","updated_at":"2024-01-27T08:47:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"60c6be73-a3e7-4b20-a02b-679211beaf86","html_url":"https://github.com/apjanke/octave-chrono","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apjanke%2Foctave-chrono","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apjanke%2Foctave-chrono/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apjanke%2Foctave-chrono/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apjanke%2Foctave-chrono/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apjanke","download_url":"https://codeload.github.com/apjanke/octave-chrono/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586238,"owners_count":21128995,"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":["datetime","octave"],"created_at":"2024-11-07T13:48:12.793Z","updated_at":"2025-04-12T14:53:56.414Z","avatar_url":"https://github.com/apjanke.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"Chrono for GNU Octave\n=====================\n\n----------------\n\n| DEPRECATED! This repo is deprecated and no longer worked on. The Chrono package has been merged into the Tablicious package, and new work is going on there instead. See \u003chttps://github.com/apjanke/octave-tablicious\u003e |\n| ---- |\n\n----------------\n\n\nDate/time functionality for GNU Octave.\n\nThis package attempts to provide a set of mostly-Matlab-compatible date/time classes and functions, including `datetime`, `duration`, `calendarDuration`, and their related functions. It has support for time zones and time zone conversion.\n\nThis is an improvement over `datenum` and `datevec` for both advanced applications and basic everyday use. It brings both more advanced functionality (time zones, variable-length calendar math) and friendly basics (dates that display as human-readable dates instead of big numbers).\n\nA quick example:\n\n```\n% Old and busted:\n\u003e\u003e dt = now\ndt =  737442.0260426451\n\u003e\u003e convertTimeZone(dt, 'America/New_York', 'Europe/Berlin')\nerror: 'convertTimeZone' undefined near line 1 column 1\n\n% New hotness:\n\u003e\u003e dt = datetime\ndt =\n 17-Jan-2019 00:37:40\n\u003e\u003e dt.TimeZone = 'America/New_York'; dt.TimeZone = 'Europe/Berlin'\ndt =\n 17-Jan-2019 06:37:40 Europe/Berlin\n```\n\n## Installation and usage\n\n### Quick start\n\nTo get started using or testing this project, install it using Octave’s `pkg` function:\n\n```\npkg install https://github.com/apjanke/octave-chrono/releases/download/v0.3.1/chrono-0.3.1.tar.gz\npkg load chrono\n```\n\n### Installation for development\n\n* Clone the repo.\n  * `git clone https://github.com/apjanke/octave-chrono`\n* Add the `inst/` directory from the repo to your Octave path.\n* Build the octfiles.\n  * `octave_chrono_make_local.m` will do this. Just run `octave_chrono_make_local` in Octave while your cwd is the `octave-chrono` repo.\n\n## Requirements\n\nChrono runs on Octave 4.4.0 and later. It would be nice to have it work on Octave 4.0.0\nand later (since Ubuntu 16 Xenial has Octave 4.0 and Ubuntu 18 Bionic has Octave 4.2); maybe we’ll do that.\n\nIt should run on any OS supported by Octave. It’s only tested on Linux, Mac, and Windows.\n\nOn Windows 7 and earlier, Java is required to detect the system default time zone.\n\nBuilding Chrono requires a compiler. That means you need to [install Visual Studio\nCommunity](https://visualstudio.microsoft.com/downloads/) on Windows, or Xcode on macOS.\n\n## Documentation\n\nThe user documentation is in the `doc/` directory. See `doc/chrono.html` or `doc/html/index.html` for\nthe manual.\n\nThe developer documentation (for people hacking on Chrono itself) is in `doc-project/`. Also see\n[CONTRIBUTING](CONTRIBUTING.md) if you would like to contribute to this project.\n\n## “Internal” code\n\nAnything in a namespace with `internal` in its name is for the internal use of this package, and is not intended for use by user code. Don’t use those! Resist the urge! If you really have a use case for them, post an [Issue](https://github.com/apjanke/octave-chrono/issues) and we’ll see about making some public API for them.\n\n## License\n\nChrono is Free Software. Chrono contains material licensed under the GPL, the Unicode license, and Public Domain.\n\n* All the code in this package is GPLv3.\n* The Unicode `windowsZones.xml` file redistributed with this package is under the Unicode license. See LICENSE-Unicode for details. Full info is available [on the Unicode website](http://www.unicode.org/copyright.html).\n* The IANA time zone database (\"zoneinfo\") redistributed with this package is Public Domain.\n\n## Author and Acknowledgments\n\nChrono is created by [Andrew Janke](https://apjanke.net).\n\nShout out to [Mike Miller](https://mtmxr.com/) for showing me how to properly structure an Octave package repo, and encouraging me to contribute.\n\nThanks to [Sebastian Schöps](https://github.com/schoeps) for getting me more involved in Octave development in the first place, via his [Octave.app](https://octave-app.org) project.\n\nThanks to David Bateman and the creators of the [Octave-Forge communications package](https://octave.sourceforge.io/communications/index.html) for providing an example of what a good Octave pkg doco generation setup looks like.\n\n[![Build Status](https://travis-ci.com/apjanke/octave-chrono.svg?branch=master)](https://travis-ci.com/apjanke/octave-chrono)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapjanke%2Foctave-chrono","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapjanke%2Foctave-chrono","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapjanke%2Foctave-chrono/lists"}