Skip to content

Commit

Permalink
doc update, packages update
Browse files Browse the repository at this point in the history
  • Loading branch information
karczk-dnv committed Feb 21, 2023
1 parent a999c0b commit 43a9fda
Show file tree
Hide file tree
Showing 4 changed files with 414 additions and 401 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changelog
Strictly follows [Semantic Versioning 2.0.0.](https://semver.org/)

## Next release (planned)
`To be released`\
## v1.13.0
`2023-02-21`\
\
:rocket: Features:
- [`getDayJsFormat()`](DOCUMENTATION.md#getDayJsFormat) - converts `Intl` current locale format to [`day.js`](https://day.js.org/) format; in practice the implementation is the same as in [`getMomentFormat()`](DOCUMENTATION.md#getMomentFormat) so `getDayJsFormat()` is an alias for `getMomentFormat()`
Expand Down
4 changes: 0 additions & 4 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@ findIso4217Currency("XX"); // returns undefined
```

### findIso4217CurrencyForIso3166Country()
`To be released`\
\
Returns specific currency information for selected country, otherwise `undefined`. In practice `undefined` can happen only for:
- ATA, Antarctica
- PSE, Palestine, State of
Expand Down Expand Up @@ -488,8 +486,6 @@ import { DatePicker } from 'your_module_with_custom_date_picker';
```

### getDayJsFormat()
`To be released`\
\
Converts `Intl` current locale format to [`day.js`](https://day.js.org/) format.
```typescript
import { getDayJsFormat } from '@dnvgl/i18n';
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dnvgl/i18n",
"version": "1.12.0",
"version": "1.13.0",
"description": "A set of functions to support multiple languages/cultures in a browser or Node.js",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down Expand Up @@ -33,13 +33,13 @@
},
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"rimraf": "^4.1.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.14.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"rimraf": "^4.1.2",
"ts-jest": "^29.0.5",
"ts-node": "^10.8.0",
"typescript": "^4.9.4"
"typescript": "^4.9.5"
}
}
Loading

0 comments on commit 43a9fda

Please sign in to comment.