Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pillar printing for era_year #34

Closed
joeroe opened this issue Jan 29, 2021 · 1 comment
Closed

Pillar printing for era_year #34

joeroe opened this issue Jan 29, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@joeroe
Copy link
Owner

joeroe commented Jan 29, 2021

No description provided.

@joeroe joeroe added the enhancement New feature or request label Jan 29, 2021
@joeroe joeroe added this to the 1.0.0 milestone Jan 29, 2021
@joeroe joeroe modified the milestones: 1.0.0, 0.4.0 Feb 7, 2021
@joeroe
Copy link
Owner Author

joeroe commented Mar 9, 2022

Before:

tibble(era = era(c("cal BP", "BC", "AH")), unit = era_unit(era))
# A tibble: 3 × 2
                                                                                             era                                 unit
                                                                                           <era>                           <era_year>
1          Before Present (cal BP): Gregorian years (365.2425 days), counted backwards from 1950      Gregorian years (365.2425 days)
2                  Before Christ (BC): Gregorian years (365.2425 days), counted backwards from 1      Gregorian years (365.2425 days)
3 Anno Hegirae (AH): Islamic lunar years (354.36708 days), counted forwards from 622.53662977337 Islamic lunar years (354.36708 days)

After:

# A tibble: 3 × 2
     era          unit
   <era>    <era_year>
1 cal BP     Gregorian
2     BC     Gregorian
3     AH Islamic lunar

@joeroe joeroe closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant