Phrases a date according to the specified format
and lang
.
Usage
phrase_date(
x = pal::pkg_config_val("ballot_date"),
format = "date_long",
lang = pal::pkg_config_val("lang")
)
Arguments
- x
Date(s) or datetime(s) to format. A date, datetime, factor or character vector.
- format
Format string(s) defining how to phrase
x
. Possible values include"date_short"
,"date_medium"
,"date_long"
,"date_full"
,"time_short"
,"time_medium"
,"time_long"
and"time_full"
. Seestringi::stri_datetime_format()
for details.- lang
Language. One of
"de"
.
See also
Other text phrasing functions:
phrase()
,
phrase_election_candidate()
,
phrase_proposal_name_de()