{"id":38543141,"url":"https://github.com/knowbee/rwa-time","last_synced_at":"2026-01-17T07:13:10.119Z","repository":{"id":47086168,"uuid":"225115932","full_name":"knowbee/rwa-time","owner":"knowbee","description":"⏲Get current date or format other dates to Kinyarwanda (rw).","archived":false,"fork":false,"pushed_at":"2021-09-14T07:51:02.000Z","size":67,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-07T08:23:46.644Z","etag":null,"topics":["datetime","formatting-time","rwanda","time"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/rwa-time","language":"JavaScript","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/knowbee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-01T06:19:22.000Z","updated_at":"2022-01-06T12:54:34.000Z","dependencies_parsed_at":"2022-09-03T03:00:31.092Z","dependency_job_id":null,"html_url":"https://github.com/knowbee/rwa-time","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/knowbee/rwa-time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowbee","download_url":"https://codeload.github.com/knowbee/rwa-time/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowbee%2Frwa-time/sbom","scorecard":{"id":564733,"data":{"date":"2025-08-11","repo":{"name":"github.com/knowbee/rwa-time","commit":"2a67930ea8e5a725475aa5f4d08dbf2aec101807"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"26 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T14:40:09.636Z","repository_id":47086168,"created_at":"2025-08-20T14:40:09.636Z","updated_at":"2025-08-20T14:40:09.636Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28503215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","formatting-time","rwanda","time"],"created_at":"2026-01-17T07:13:10.037Z","updated_at":"2026-01-17T07:13:10.103Z","avatar_url":"https://github.com/knowbee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rwa-time\n\n[![Build Status](https://travis-ci.org/knowbee/rwa-time.svg?branch=master)](https://travis-ci.org/knowbee/rwa-time)\n[![npm](https://img.shields.io/npm/dt/rwa-time.svg)](https://www.npmjs.com/package/rwa-time)\n[![Dependency Status](https://david-dm.org/knowbee/rwa-time.svg)](https://david-dm.org/knowbee/rwa-time)\n\n[![NPM](https://nodei.co/npm/rwa-time.png)](https://nodei.co/npm/rwa-time/)\n\nGet current date in Kinyarwanda (rw) or format other dates to Kinyarwanda (rw).\n\n**Table of content**\n\n- [Installation](#installation)\n  - [Scripts](#scripts)\n  - [Usage](#usage)\n- [Rwa-Time Date Functions](#date-functions)\n  - [getDay(date)](#getdaydate)\n  - [getMonth(date)](#getmonthdate)\n  - [getMonthNumber(date)](#getmonthnumberdate)\n  - [getYear(date)](#getyeardate)\n  - [getWeekdayNumber(date)](#getweekdaynumberdate)\n  - [getDate(date)](#getdate)\n  - [getFullDate(date)](#getfulldate)\n  - [getFullWeekdayDate(date)](#getfullweekdaydate)\n  - [getMonthNumberYear(date)](#getmonthnumberyeardate)\n  - [getHour(date)](#gethourdate)\n  - [getMinute(date)](#getminutedate)\n  - [getFullMinute(date)](#getFullminutedate)\n  - [getSecond(date)](#getseconddate)\n  - [getFullSecond(date)](#getFullseconddate)\n  - [getTime(date)](#gettimedate)\n  - [getHourMinute(date)](#gethourminutedate)\n  - [getTime(date)](#getimedate)\n  - [getDateTime(date)](#getdatetimedate)\n  - [getFullCityDate(date)](#getFullcitydatedate)\n  - [getShortCountryDate(date)](#getFullshortcountrydatedate)\n  - [Current Locale Functions](#current-locale-functions)\n  - [getCity()](#getcity)\n  - [getRegion()](#getregion)\n  - [getCountry()](#getcountry)\n  - [getShortCountry()](#getshortcountry)\n  - [getTimezone()](#gettimezone)\n- [License](#license)\n\n---\n\n## Installation\n\nvia npm:\n\n```sh\nnpm i -S rwa-time\n```\n\nvia yarn:\n\n```sh\nyarn add rwa-time\n```\n\n### Scripts\n\nview all available functions:\n\n```sh\nyarn all\n```\n\n```sh\nnpm run all\n```\n\n### Usage\n\n```javascript\nconst RwaTime = require(\"rwa-time\");\nconst date = new RwaTime();\n\nconsole.log(date.getFullDate()); // 01, Ukuboza 2019\n```\n\n## Date Functions\n\nAll functions below receive an **optional** date as a parameter. If no date is passed the function uses the **current** date.\n\n- {string} **date** - accepts various formats _(optional)_\n\n**e.g.**:\n\n```javascript\ndate.getDateTime('05/07/2019 08:54:32') // =\u003e 07/05/2019 Saa Mbiri n'iminota 54 n'amasegonda 32\n\ndate.getTime('05/07/2019 08:54:32') // =\u003e Saa Mbiri n'iminota 54 n'amasegonda 32\n\ndate.getDate('October 15, 1996 05: 35: 32') // =\u003e 15/10/1996\n\ndate.getFullWeekdayDate('2017-09-08T15:25:53Z') // =\u003e Kuwa Gatanu, Taliki ya 08 z'ukwa Cyenda 2017\n\ndate.getMonthNumber('05 October 2011 14:48 UTC') // =\u003e 10\n\ndate.getDateTime('07/24/2015') // =\u003e 24/07/2015 Saa Sita n'iminota 00 n'amasegonda 00\n\ndate.getWeekdayNumber('05 October 2011 14:48 UTC') // =\u003e 4\n\ndate.getWeekday('05 October 2011 14:48 UTC') // =\u003e Kuwa Gatatu\n\ndate.getTime('Wed Sept 05 2011 16:48:00 GMT+0200 (CEST)' // =\u003e Saa Kumi n'iminota 48 n'amasegonda 00\n\ndate.getDay('20HJERH87LK4') // =\u003e Invalid Date\n```\n\nIf the date passed is invalid, functions will return **'Invalid Date'**.\n\n### getDay(date)\n\n- returns day **(01 a 31)**\n\n```javascript\nlet dt = date.getDay(); // =\u003e 01\n```\n\n### getMonthNumber(date)\n\n- returns month number **(01 a 12)**\n\n```javascript\nlet dt = date.getMonthNumber(); // =\u003e 10\n```\n\n### getMonth(date)\n\n```javascript\nlet dt = date.getMonth(); // =\u003e Ukuboza\n```\n\n| number | month       |\n| :----- | :---------- |\n| 01     | Mutarama    |\n| 02     | Gashyantare |\n| 03     | Werurwe     |\n| 04     | Mata        |\n| 05     | Gicurasi    |\n| 06     | Kamena      |\n| 07     | Nyakanga    |\n| 08     | Kanama      |\n| 09     | Nzeri       |\n| 10     | Ukwakira    |\n| 11     | Ugushyingo  |\n| 12     | Ukuboza     |\n\n### getYear(date)\n\n```javascript\nlet dt = date.getYear(); // =\u003e 2019\n```\n\n### getWeekdayNumber(date)\n\n- returns the number of the week **(1 a 7)**\n\n```javascript\nlet dt = date.getWeekdayNumber(); // =\u003e 1\n```\n\n### getWeekday(date)\n\n```javascript\nlet dt = date.getWeekday(); // =\u003e Ku Cyumweru\n```\n\n| number | weekday        |\n| :----- | :------------- |\n| 1      | Ku Cyumweru    |\n| 2      | Kuwa Mbere     |\n| 3      | Kuwa Kabiri    |\n| 4      | Kuwa Gatatu    |\n| 5      | Kuwa Kane      |\n| 6      | Kuwa Gatanu    |\n| 7      | Kuwa Gatandatu |\n\n### getDate(date)\n\n```javascript\nlet dt = date.getDate(); // =\u003e 01/12/2019\n```\n\n### getFullDate(date)\n\n```javascript\nlet dt = date.getFullDate(); // =\u003e 01, Ukuboza 2019\n```\n\n### getFullWeekdayDate(date)\n\n```javascript\nlet dt = date.getFullWeekdayDate(); // =\u003e  Ku Cyumweru, Taliki ya 01 z'ukwa Cumi Na Kabiri 2019\n```\n\n### getMonthNumberYear(date)\n\n```javascript\nlet dt = date.getMonthNumberYear(); // =\u003e 12/2019\n```\n\n### getMonthYear(date)\n\n```javascript\nlet dt = date.getMonthYear(); // =\u003e Ukuboza/2019\n```\n\n### getHour(date)\n\n- return hours **(01 a 23)**\n\n```javascript\nlet dt = date.getHour(); // =\u003e Saa Munani\n```\n\n### getTime(date)\n\n```javascript\nlet dt = date.getTime(); // =\u003e Saa Munani n'iminota 48 n'amasegonda 00\n```\n\n### getMinute(date)\n\n- return minutes **(01 a 59)**\n\n```javascript\nlet dt = date.getMinute(); // =\u003e 48\n```\n\n### getFullMinute(date)\n\n```javascript\nlet dt = date.getFullMinute(); // =\u003e iminota 48\n```\n\n### getSecond(date)\n\n- returns seconds **(01 a 59)**\n\n```javascript\nlet dt = date.getSecond(); // =\u003e 00\n```\n\n### getFullSecond(date)\n\n```javascript\nlet dt = date.getFullSecond(); // =\u003e amasegonda 00\n```\n\n### getHourMinute(date)\n\n```javascript\nlet dt = date.getHourMinute(); // =\u003e Saa Munani n'iminota 48\n```\n\n### getDateTime(date)\n\n```javascript\nlet dt = date.getDateTime(); // =\u003e 24/07/2015 Saa Sita n'iminota 00 n'amasegonda 00\n```\n\n### getFullCityDate(date)\n\n_asynchronous function_\n\n```javascript\nlet cty = await date.getFullCityDate(); // =\u003e  Kigali, 01 Ukuboza, 2019\n```\n\n### getFullShortCountryDate(date)\n\n_asynchronous function_\n\n```javascript\nlet dt = await date.getFullShortCountryDate(); // =\u003e  RW, 01 Ukuboza 2019\n```\n\n## Current Locale Functions\n\nAll functions bellow are _asynchronous_ and returns current locale informations.\n\n### getCity()\n\n_asynchronous function_\n\n```javascript\nlet dt = await date.getCity(); // =\u003e Kigali\n```\n\n### getRegion()\n\n_asynchronous function_\n\n```javascript\nlet dt = await date.getRegion(); // =\u003e Kigali\n```\n\n### getCountry()\n\n_asynchronous function_\n\n```javascript\nlet dt = await date.getCountry(); // =\u003e Rwanda\n```\n\n### getShortCountry()\n\n_asynchronous function_\n\n```javascript\nlet dt = await date.getShortCountry(); // =\u003e RW\n```\n\n### getTimezone()\n\n_asynchronous function_\n\n```javascript\nlet dt = await date.getTimezone(); // =\u003e Africa/Kigali\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2019 Igwaneza Bruce\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowbee%2Frwa-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowbee%2Frwa-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowbee%2Frwa-time/lists"}