{"id":13078718,"url":"https://github.com/asg017/sqlite-jiff","last_synced_at":"2025-04-13T16:34:16.393Z","repository":{"id":250071124,"uuid":"832374428","full_name":"asg017/sqlite-jiff","owner":"asg017","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-22T22:36:30.000Z","size":2,"stargazers_count":108,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T22:40:25.962Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asg017.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-22T22:36:08.000Z","updated_at":"2025-02-01T19:02:15.000Z","dependencies_parsed_at":"2024-07-25T02:35:12.047Z","dependency_job_id":null,"html_url":"https://github.com/asg017/sqlite-jiff","commit_stats":null,"previous_names":["asg017/sqlite-jiff"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asg017%2Fsqlite-jiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asg017%2Fsqlite-jiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asg017%2Fsqlite-jiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asg017%2Fsqlite-jiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asg017","download_url":"https://codeload.github.com/asg017/sqlite-jiff/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248744377,"owners_count":21154854,"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":[],"created_at":"2024-07-25T02:10:34.713Z","updated_at":"2025-04-13T16:34:16.374Z","avatar_url":"https://github.com/asg017.png","language":"Rust","readme":"# `sqlite-jiff`\n\nWork-in-progress date-time SQLite extension that will support timezones, complex durations, and daylight savings calculations, based on the [`jiff` library](https://github.com/BurntSushi/jiff).\n\n```sql\n.load ./jiff0\n\nselect jiff_duration(\n  '2024-11-02T01:59:59[America/Los_Angeles]',\n  '2024-11-02T02:00:01[America/New_York]',\n  'minutes'\n) as result;\n/*\n┌──────────────────┐\n│      result      │\n├──────────────────┤\n│ 179.966666666667 │\n└──────────────────┘\n*/\n\nselect jiff_duration(\n  '2024-11-03T01:59:59[America/Los_Angeles]',\n  '2024-11-03T02:00:01[America/New_York]',\n  'minutes'\n) as result;\n/*\n┌──────────────────┐\n│      result      │\n├──────────────────┤\n│ 119.966666666667 │\n└──────────────────┘\n*/\n```\n\nNote that in this example, `2024-11-03` at 2AM is Daylight Savings \"fall back\", which results in a 2hr difference instead of the \"normal\" 3hr difference.\n\nMostly a \"this can work\" project, not usable for most people.\n\nIf there's a feature or use-case that you think would be interesting in this extension, feel free to file an issue! I personally won't work much on this extension until `sqlite-vec` is out.\n","funding_links":[],"categories":["Extensions","Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasg017%2Fsqlite-jiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasg017%2Fsqlite-jiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasg017%2Fsqlite-jiff/lists"}