View source: R/helper-functions.R
to_datetime | R Documentation |
Datetimes accepted by the API need to be given in UTC. This function will accept a datetime or a character with a suitable datetime format, and output a character that is suitable for a URL. All URL input and output in this package should be in Melbourne time, and the UTC conversion should happen
to_datetime(datetime)
datetime |
POSIXct or Character. |
The API seems to accept both "%Y-%m-%dT%H:%M:%OS" and "%Y-%m-%d %H:%M:%OS", but we opt for the former.
Character.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.