NEWS
datetimeutils 0.6-5 (2025-04-01)
- tz data have been updated
- a vector 'Easter' is now exported, which provides
Easter sundays (in the Gregorian calendar) between
1970--2029
datetimeutils 0.6-4 (2024-04-01)
- tz data have been updated
datetimeutils 0.6-3 (2023-11-07)
- fix functions 'hour', 'minute' and 'second', which
had been broken
datetimeutils 0.6-2 (2023-09-20)
- tiny updates in vignette
- there is an additional public Git repository at
https://git.sr.ht/~enricoschumann/datetimeutils
datetimeutils 0.6-1 (2023-04-05)
- no user-visible changes (fixed some timezone issues
in tests)
datetimeutils 0.6-0 (2023-04-01)
- fixed: functions 'hour' 'minute', and 'second', which
had been added in v0.5-0, are now exported
- patterns for days in 'guess_datetime' are relaxed:
in some cases a single digit will be recognised
- 'previous_businessday', 'next_businessday' and
'is_businessday' now take into account a vector of
'holidays' when computing dates
- 'convert_date' gains a new type "excel1904" for Excel
files that use origin 1904-01-01. A new function
'date1904' determines if an xlsx-file uses origin 1904.
- tz data have been updated
datetimeutils 0.5-0 (2021-04-01)
- fixed: argument 'tz' had been ignored by 'guess_datetime'
- 'guess_datetime' gets an argument 'try.patterns' that
lets the user specify additionals patterns
- new functions 'hour' 'minute', and 'second', which
work just as 'year' etc.
- convert_date: support for PSPP/SPSS dates and times;
based on a patch by J\"org Beyer
- 'tznames' has been updated and no longer contains
duplicates
datetimeutils 0.4-0 (2020-03-25)
- guess_datetime: the function now supports the date
pattern "YYYYMMDD"; it also gains arguments
'date.only', 'within' and 'tz'
- the package now contains vectors 'month.name.de'
and 'month.abb.de.din1355.1', which provide German
month names and their abbreviations
- the package now contains a data.frame 'tznames',
which provides a mapping between Olson and Windows
timezone names
datetimeutils 0.3-0 (2019-03-21)
- new function 'end_of_quarter'
- nth_day: argument 'period' may now also be a month
name. Arguments 'timestamps', 'start' and 'end' may
be simple years, such as "2000". For start/end,
they will be interpreted as 1 Jan/31 Dec of that
year.
datetimeutils 0.2-12 (2018-03-10)
- nth_day: argument 'n' may be of length greater than 1
datetimeutils 0.2-11
- timegrid: argument 'excludeWeekends' was renamed
to 'exclude.weekends' (for consistency with
other functions, such as PMwR::plot_trading_hours)
- nth_day: argument 'period' may now also be
"week" or "year"; argument 'n' may now also be
numeric
datetimeutils 0.2-10
- nth_day: argument 'period' may be numeric
datetimeutils 0.2-9
- new functions 'year', 'month' and 'nth_day'
datetimeutils 0.2-8
- minor change in example for 'timegrid' to avoid
error on Solaris
datetimeutils 0.2-7 (2017-08-28)
- 'last_weekday' now supports arguments 'before' and
'inclusive'
datetimeutils 0.2-6
- new function 'end_of_previous_year'
- fixed: the 'shift' argument in 'end_of_year' had
been applied to months instead of years
datetimeutils 0.2-5
- add vignette with examples
datetimeutils 0.2-4
- update documentation + internal changes
datetimeutils 0.2-3
- new function 'guess_datetime'
datetimeutils 0.2-2
- fixed: 'timegrid' had failed when timezone was
missing
datetimeutils 0.2-1
- fixed: 'timegrid' had ignored the 'excludeWeekends'
argument
datetimeutils 0.2-0
- *backward* *incompatible* *changes*. for better
consistency, several functions have been renamed:
convertDate => convert_date
convertTZ => convert_tz
dayOfMonth => "day_of_month<-"
dayOfMonth => day_of_month
endOfMonth => end_of_month
endOfPreviousMonth => end_of_previous_month
endOfYear => end_of_year
firstOfMonth => first_of_month
firstOfYear => first_of_year
isBusinessDay => is_businessday
isLeapyear => is_leapyear
isWeekend => is_weekend
lastWeekday => last_weekday
nextBDay => next_bday
nextBusinessDay => next_businessday
nthWeekday => nth_weekday
prevBDay => prev_bday
previousBusinessDay => previous_businessday
datetimeutils 0.1-5
- add short-hands 'prevBDay' and 'nextBDay' for
'previousBusinessDay' and 'nextBusinessDay'
datetimeutils 0.1-4
- fixed: 'nthWeekday' had failed in some cases
- new function 'isBusinessDay'
datetimeutils 0.1-3
datetimeutils 0.1-2
- new function 'firstOfYear'
datetimeutils 0.1-0
- there is now a public Git repository at
https://github.com/enricoschumann/datetimeutils