You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a `golang` implementation of the package from [aj3sh](https://github.com/aj3sh)'s `python` package [nepali](https://github.com/aj3sh/nepali).
4
+
This is a `golang` implementation of the package from [opensource-nepal](https://github.com/opensource-nepal)'s `python` package [nepali](https://github.com/opensource-nepal/py-nepali).
5
5
6
6
We'll try to include all the features provided in the aforementioned package. We'll be releasing features in parts to support all or most features given by `go`'s `time` package.
7
7
@@ -10,13 +10,13 @@ We'll try to include all the features provided in the aforementioned package. We
10
10
To install this package use `go get`
11
11
12
12
```shell
13
-
$ go get -u github.com/sugat009/nepali
13
+
$ go get -u github.com/opensource-nepal/nepali
14
14
```
15
15
16
16
Or if there is some error then, use `go install`
17
17
18
18
```shell
19
-
$ go install github.com/sugat009/nepali
19
+
$ go install github.com/opensource-nepal/nepali
20
20
```
21
21
22
22
#### Usage
@@ -30,7 +30,7 @@ In this package, we provide 2 `go` packages, `nepalitime` and `dateConverter`.
// just to ensure that the timezone is Asia/Kathmandu
51
51
// else the time will be adjusted accordingly
@@ -56,7 +56,7 @@ In this package, we provide 2 `go` packages, `nepalitime` and `dateConverter`.
56
56
3. To parse a datestring into a `NepaliTime` object the `Parse` function can be used. This is the Nepali equivalent of the `time.Parse` function of go but instead of using the time parsing format of `Mon Jan 2 15:04:05 -0700 MST 2006` we decided to go with the `%Y/%m/%d` style parsing. We intend on supporting the go style formatting in the upcoming releases. Please see [directives](#date-directives) section to know which directives we support.
@@ -85,7 +85,7 @@ In this package, we provide 2 `go` packages, `nepalitime` and `dateConverter`.
85
85
1. This is one of the core functionalities in which an Englishdate(not an object) is converted to Nepali date in parts i.e. year, month, day in an array:
0 commit comments