# intl-ka

> Adds ka support to Intl

Latest version **1.4.0** (published 2022-08-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install intl-ka
pnpm add intl-ka
yarn add intl-ka
bun add intl-ka
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.0 |
| Published | 2022-08-13 |
| First published | 2022-08-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 22.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrian Kogoshvili |
| Maintainers | kogoshvili |

## Links

- npm: https://www.npmjs.com/package/intl-ka
- Repository: https://github.com/Kogoshvili/intl-ka
- Homepage: https://github.com/Kogoshvili/intl-ka#readme
- Issues: https://github.com/Kogoshvili/intl-ka/issues
- npm.io page: https://npm.io/package/intl-ka

## Dependencies (1)

- [date-fns](https://npm.io/package/date-fns.md) ^2.29.1

## Recent versions

- 1.4.0 (latest) — 2022-08-13
- 1.0.1 — 2022-08-07
- 1.0.0 — 2022-08-07

## README

# intl-ka
V8 doesn't support Georgian localization this package adds this support to Intl.DateTimeFormat and Date.toLocaleString.

## How to setup
Add
`import 'intl-ka';`
somewhere at the beginning of you application e.g. `index.{js|ts}`

## Examples
```javascript
var date = new Intl.DateTimeFormat('ka', {
    milisecond: 'short', era: 'long', month: 'short',
    day: '2-digit', year: 'numeric', minute: 'numeric',
    second: 'numeric', weekday: 'short', hour12: false, hour: '2-digit'
});
date.format(new Date(Date.UTC(2020, 11, 20, 3, 23, 16, 738)));
```
ხუთ 01 იან 1970 ჩვენი წელთაღრიცხვით 04:0:0

```javascript
const date = new Date(Date.UTC(2020, 11, 20, 3, 23, 16, 738));
date.toLocaleString('ka-GE', { day: '2-digit', month: 'long', year: 'numeric' });

```
20 დეკემბერი 2020

```javascript
Intl.DateTimeFormat.supportedLocalesOf(['en', 'ka', 'ka-GE', 'de-DE', 'asd']);
```
['en', 'ka', 'ka-GE', 'de-DE']

---
_Source: https://npm.io/package/intl-ka · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
