Recent Releases of shide

shide - shide 0.2.1

  • Default formatting for jdatetime objects is changed to conform to default R behavior.

  • jdate and jdatetime vectors are printed more nicely in tibbles.

  • Rounding family of functions (sh_floor(), sh_ceiling() and sh_round()) now accept multi-unit values for unit argument.

  • jdatetime() and jdatetime_make() now support ambiguous time resolution strategies via ambiguous argument (ambiguous times occur during a repeated interval when the clock is adjusted backwards during the transition from DST to standard time).

  • Fixed a bug regarding casting of jdatetime to jdate (#4).

- R
Published by mmollayi almost 2 years ago

shide - shide 0.2.0

  • New sh_year_is_leap() determines if a Jalali year is a leap year.

  • New accessor and replacement functions are added to get/set the components of Jalali date-time objects.

  • New family of functions for rounding Jalali dates to a specific unit of time:

    • sh_floor() rounds a jdate object down to the previous unit of time.
    • sh_ceiling() rounds a jdate object up to the next unit of time.
    • sh_round() rounds a jdate object up or down, depending on what is closer.
  • New seq.jdate() generates regular sequences of Jalali dates.

  • as.POSIXlt() now errors with jdate and jdatetime input. In order to cast jdate and jdatetime to POSIXlt, first, they should be converted to Date and POSIXct respectively.

  • jdate() now truncates numeric input toward zero before generating a jdate object.

  • jdatetime() now truncates numeric input toward zero before generating a jdatetime object.

  • Fixed a bug where names were dropped after calling format() upon a jdate or jdatetime object.

- R
Published by mmollayi over 2 years ago

shide - shide 0.1.2

  • Initial CRAN submission.
  • Added a NEWS.md file to track changes to the package.

- R
Published by mmollayi over 2 years ago