{"id":13512327,"url":"https://github.com/LeEnno/alfred-date-calculator","last_synced_at":"2025-03-30T22:32:33.986Z","repository":{"id":7748413,"uuid":"9115756","full_name":"LeEnno/alfred-date-calculator","owner":"LeEnno","description":"Alfred workflow to display or calculate with current date and time.","archived":false,"fork":false,"pushed_at":"2021-04-30T11:48:43.000Z","size":397,"stargazers_count":86,"open_issues_count":0,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-21T12:57:42.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/LeEnno.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}},"created_at":"2013-03-30T12:48:32.000Z","updated_at":"2024-04-29T09:44:41.000Z","dependencies_parsed_at":"2022-07-09T16:46:55.467Z","dependency_job_id":null,"html_url":"https://github.com/LeEnno/alfred-date-calculator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeEnno%2Falfred-date-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeEnno%2Falfred-date-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeEnno%2Falfred-date-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeEnno%2Falfred-date-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeEnno","download_url":"https://codeload.github.com/LeEnno/alfred-date-calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390879,"owners_count":20769475,"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-08-01T03:01:44.061Z","updated_at":"2025-03-30T22:32:28.976Z","avatar_url":"https://github.com/LeEnno.png","language":"Ruby","funding_links":[],"categories":["Ruby","Utility"],"sub_categories":[],"readme":"alfred-date-calculator\n======================\n\nAlfred workflow to display or calculate with current date and time.\n\nUsage\n-----\n\nInstall workflow and enter `date` to get the current date as a search result. Pressing enter will copy the formatted date to clipboard.\n\n![Date Calculator in Alfred](https://raw.github.com/LeEnno/alfred-date-calculator/master/screenshot_date.png)\n\nYou can add or subtract years, months, weeks, days, hours, minutes and seconds i.e. to calculate a date in the future. Refer to the chapter *Options*.\n\nOptions\n-------\n\nYou can use:\n\n- **y** for *years*\n- **m** for *months*\n- **w** for *weeks*\n- **d** for *days*\n- **h** for *hours*\n- **min** for *minutes* (not colliding with **m** for months)\n- **s** for *seconds*\n\nPrepend a number to the identifiers and optionally a minus sign for subtracting.\n\n**Examples:**\n\n- `date 3w`: today + 3 weeks\n- `date -2y`: today - 2 years\n- `date 2m -5d`: today + 2 months - 5 days\n\nChange Default Format\n---------------------\n\nYou Probably don't want to stick with the default date format. Changing it is pretty easy. Just enter `dateformat` and type the format you like (or choose from the suggestions). You have to give a string as used in ~~[PHP's `date` function](http://php.net/manual/en/function.date.php \"PHP date\")~~ [strftime](http://strfti.me/ \"strfti.me: strftime reference and sandbox for Ruby, Python, PHP\"). You can disregard the `%`-character. The script will add it automagically for you.\n\nPreview will be shown in realtime.\n\n![Date Calculator in Alfred](https://raw.github.com/LeEnno/alfred-date-calculator/master/screenshot_dateformat_simple.png)\n\n![Date Calculator with custom format](https://raw.github.com/LeEnno/alfred-date-calculator/master/screenshot_dateformat_custom.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeEnno%2Falfred-date-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeEnno%2Falfred-date-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeEnno%2Falfred-date-calculator/lists"}