Skip to content

Commit

Permalink
Merge pull request #63 from JuliaAstro/juliacon
Browse files Browse the repository at this point in the history
Redesign of `AstroPeriod` née `Period` and other small refactorings
  • Loading branch information
helgee authored Jul 30, 2021
2 parents 8e0936b + 4fdb65a commit a891ffe
Show file tree
Hide file tree
Showing 21 changed files with 473 additions and 315 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI
on:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
tags: '*'
jobs:
test:
Expand All @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.0' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
- '1.3' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
- 'nightly'
os:
Expand Down
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "AstroTime"
uuid = "c61b5328-d09d-5e37-a9a8-0eb41c39009c"
version = "0.6.2"
version = "0.7.0"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand All @@ -12,15 +12,15 @@ MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"

[compat]
ERFA = "0.5, 0.6"
ERFA = "0.5, 0.6, 1.0"
EarthOrientation = "0.7"
ItemGraphs = "0.4"
LeapSeconds = "1.1"
MacroTools = "0.5"
Measurements = "2.2"
Measurements = "2"
MuladdMacro = "0.2"
Reexport = "0.2, 1"
julia = "1"
julia = "1.3"

[extras]
ERFA = "17511681-8477-586a-8d98-4cfd5a1f2ec3"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ julia> import Pkg; Pkg.add("AstroTime")
# Create an Epoch based on the TT (Terrestial Time) scale
tt = TTEpoch("2018-01-01T12:00:00")

# Transform to UTC (Universal Time Coordinated)
utc = UTCEpoch(tt)
# Transform to TAI (International Atomic Time)
tai = TAIEpoch(tt)

# Transform to TDB (Barycentric Dynamical Time)
utc = TDBEpoch(utc)
tdb = TDBEpoch(tai)

# Shift an Epoch by one day
another_day = tt + 1days
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "~0.26"
Documenter = "~0.27"
6 changes: 3 additions & 3 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ julia> import Pkg; Pkg.add("AstroTime")
# Create an Epoch based on the TT (Terrestial Time) scale
tt = TTEpoch("2018-01-01T12:00:00")

# Transform to UTC (Universal Time Coordinated)
utc = UTCEpoch(tt)
# Transform to TAI (International Atomic Time)
tai = TAIEpoch(tt)

# Transform to TDB (Barycentric Dynamical Time)
utc = TDBEpoch(utc)
tdb = TDBEpoch(tai)

# Shift an Epoch by one day
another_day = tt + 1days
Expand Down
Loading

2 comments on commit a891ffe

@helgee
Copy link
Member Author

@helgee helgee commented on a891ffe Jul 30, 2021

Choose a reason for hiding this comment

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

@JuliaRegistrator register

@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/41869

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.7.0 -m "<description of version>" a891ffef6fb142d37b8f8836b3ec75da4955606d
git push origin v0.7.0

Please sign in to comment.