Skip to content

Commit

Permalink
Bump version, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
subins2000 committed Sep 11, 2023
1 parent b4eb7f3 commit f002672
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,30 @@ new NeetoTimezoneSelector(document.getElementById("elementId"), {
```

### ianaTimezoneToHumanReadble

```js
import { ianaTimezoneToHumanReadable } from "@neetohq/timezones";

ianaTimezoneToHumanReadable("Asia/Calcutta") // => Indian Standard Time

ianaTimezoneToHumanReadable("America/New_York") // => Eastern Standard Time

ianaTimezoneToHumanReadable("Europe/Berlin") // => Central Standard Time
```

## Development

### Clone the repo
```

```bash
git clone [email protected]:neetohq/neeto-timezones.git
cd neeto-timezones/js
pnpm install
pnpm dev
```

### Install the dependencies
```bash
pnpm i
```
### Publishing to npm

### Run
Run the package using pnpm
```bash
pnpm run dev
```
1. Bump `package.json` version
2. Commit and push
3. `pnpm build && pnpm publish`
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@neetohq/timezones",
"version": "0.2.0",
"version": "0.2.2",
"license": "MIT",
"exports": {
".": {
Expand Down

0 comments on commit f002672

Please sign in to comment.