Skip to content

Commit

Permalink
Merge pull request #14 from TidierOrg/improved-parsing”
Browse files Browse the repository at this point in the history
improves parsing/efficiency, bugfix with PM/pm in date_hms options
adds `_h` and `_hm` options
refines round and floor
  • Loading branch information
drizk1 authored Aug 21, 2024
2 parents 7c50a0a + f78ea55 commit 5e45193
Show file tree
Hide file tree
Showing 8 changed files with 681 additions and 282 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TidierDates"
uuid = "20186a3f-b5d3-468e-823e-77aae96fe2d8"
authors = ["Daniel Rizk & Contributors"]
version = "0.2.3"
version = "0.2.4"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Pkg.add(url = "https://github.com/TidierOrg/TidierDates.jl.git")

## What functions does TidierDates.jl support?

- `ymd()`, `ymd_hms()`
- `dmy()`, `dmy_hms()`
- `mdy()`, `mdy_hms()`
- `ymd()`, `ymd_hms()`, `ymd_h()`, `ymd_hm()`
- `dmy()`, `dmy_hms()`, `dmy_h()`, `dmy_hm()`
- `mdy()`, `mdy_hms()`, `mdy_h()`, `mdy_hm()`
- `floor_date()`
- `round_date()`
- `timediff()`
Expand Down Expand Up @@ -233,3 +233,4 @@ end
9 │ 15:10:45
10 │ missing
```

6 changes: 3 additions & 3 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ This package re-exports `Dates.jl`.

In addition, this package includes:

- `ymd()`, `ymd_hms()`
- `dmy()`, `dmy_hms()`
- `mdy()`, `mdy_hms()`
- `ymd()`, `ymd_hms()`, `ymd_h()`, `ymd_hm()`
- `dmy()`, `dmy_hms()`, `dmy_h()`, `dmy_hm()`
- `mdy()`, `mdy_hms()`, `mdy_h()`, `mdy_hm()`
- `floor_date()`
- `round_date()`
- `timediff()`
Expand Down
Loading

2 comments on commit 5e45193

@drizk1
Copy link
Member Author

@drizk1 drizk1 commented on 5e45193 Aug 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

  • improves parsing for *_hms functions for (mdy, dmy, ymd)
  • *_hms functions can take note of PM in string
  • adds *_hm and *_h functions for (mdy, dmy, ymd)

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/113599

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.4 -m "<description of version>" 5e451935969bb7b4ec46cf3b9ce5d23b81ddd2bf
git push origin v0.2.4

Please sign in to comment.