{"id":13895822,"url":"https://github.com/hlucco/nvim-eswpoch","last_synced_at":"2025-07-17T11:32:20.474Z","repository":{"id":49837090,"uuid":"517951120","full_name":"hlucco/nvim-eswpoch","owner":"hlucco","description":"Plugin for executing inline swaps between timestamps and viewing corresponding GMT time. ","archived":false,"fork":false,"pushed_at":"2023-06-12T02:56:48.000Z","size":926,"stargazers_count":31,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-07T18:36:24.338Z","etag":null,"topics":["lua","neovim","neovim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/hlucco.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-26T07:05:34.000Z","updated_at":"2024-07-01T06:09:00.000Z","dependencies_parsed_at":"2022-09-14T03:11:46.632Z","dependency_job_id":null,"html_url":"https://github.com/hlucco/nvim-eswpoch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlucco%2Fnvim-eswpoch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlucco%2Fnvim-eswpoch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlucco%2Fnvim-eswpoch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hlucco%2Fnvim-eswpoch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hlucco","download_url":"https://codeload.github.com/hlucco/nvim-eswpoch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226260601,"owners_count":17596494,"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":["lua","neovim","neovim-plugin"],"created_at":"2024-08-06T18:02:29.964Z","updated_at":"2024-11-25T01:30:38.815Z","avatar_url":"https://github.com/hlucco.png","language":"Lua","readme":"# Eswpoch - Nvim\n\nToggles a menu which allows swapping between units and human readable strings of a configurable set of timezones\nfor a given timestamp. Port of the original VSCode plugin: https://github.com/hlucco/eswpoch.\n\n## Example\n\n![example gif](https://raw.githubusercontent.com/hlucco/nvim-eswpoch/master/example.gif)\n\n## Installation\n\nUsing a plugin manager:\n\n`Plug 'hlucco/nvim-eswpoch'`\n\n## Commands\n\n`:Eswpoch` -\u003e Brings up the epoch swap menu.\n\n## Overview\n\nOnce the cursor is over a valid timestamp value, using the `:Eswpoch` command the menu will open\nand display the detected timestamp value in the user input bar. The options will be the supported conversations for that timestamp. Exit the menu and \nchange nothing or cycle through the options and select one to cycle out. The old value will be replaced with the new value converted in line.\n\nIn addition to unit conversions, the menu will also show a converted human readable string for all of the IANA time zones that have been added to the\n`timezones` variable in `lua/eswpoch.lua`. Selecting one of these strings will swap the original value for the selected human readable string. \n\n## Configuration\n\nTo add or remove time zone options from the menu, edit the `timezones` table in `lua/eswpoch.lua` to add\nor remove timezone entries. Each timezone entry must be accompanied by it's GMT offset value. For example,\n`-7` for `America/Los_Angeles`.\n\n```lua\ntimezones = {\n    America_Los_Angeles = -7,\n    America_Chicago = -5,\n    America_New_York = -4\n}\n```\n\nTo change the command which activates the menu, update the `plugin/eswpoch.vim` command entry\nwith a desired command string for activation.\n\n```lua\ncommand! \u003ccommand\u003e lua require'eswpoch'.eswpoch()\n```\n\nVersion 1.0.1\n","funding_links":[],"categories":["Lua"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlucco%2Fnvim-eswpoch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhlucco%2Fnvim-eswpoch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhlucco%2Fnvim-eswpoch/lists"}