This is 1.1 release of the toOrdinal package. This release includes a new function toOrdinalDate that converts calendar dates:

> toOrdinalDate()
list()
> toOrdinalDate("2017-12-25")
[1] "December 25th, 2017"

This release also updates the web-documentation for the package.

  • English: toOrdinal(1) returns ‘1st’
  • German: toOrdinal(1, language=“German”) returns ‘1te’
  • French: toOrdinal(1, language=“French”) returns ‘1re’
  • Spanish: toOrdinal(1, language=“Spanish”) returns ‘1.er’
  • Swedish: toOrdinal(1, language=“Swedish”) returns ‘1:a’

See the new Getting Started Vignette for more information.

Feel free to drop me a line with any comments, feature requests, or ideas. And give us a shout-out Tweet using the Twitter button in the upper right!