Skip to content

Commit

Permalink
Update locale.R example description
Browse files Browse the repository at this point in the history
Obviously Spanish is one of the many languages in South America, spoken by 9 out of 12 South American countries, but it's still just one of the languages spoken and it's not even the one with the most speakers (which is Portuguese in Brazil, with 212 million inhabitants). 

This change simply makes it explicit that the example, which uses Spanish, is *a* South American locale, and not *the* South American locale.
  • Loading branch information
drvictorvs authored Jun 27, 2024
1 parent e529cb2 commit fba696d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/locale.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#' locale()
#' locale("fr")
#'
#' # South American locale
#' # A South American locale
#' locale("es", decimal_mark = ",")
locale <- function(date_names = "en",
date_format = "%AD", time_format = "%AT",
Expand Down

0 comments on commit fba696d

Please sign in to comment.