@@ -807,7 +807,7 @@ class DateElementProperties
807807 # Determines how the date part of the DateElement will be displayed in the
808808 # document. If unset, the default value is
809809 # DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be
810- # formatted as `MMM d, y` in `en_US `, or locale specific equivalent.
810+ # formatted as `MMM d, y` in `en `, or locale specific equivalent.
811811 # Corresponds to the JSON property `dateFormat`
812812 # @return [String]
813813 attr_accessor :date_format
@@ -817,9 +817,14 @@ class DateElementProperties
817817 # @return [String]
818818 attr_accessor :display_text
819819
820- # The locale of the document, as defined by the Unicode Common Locale Data
821- # Repository (CLDR) project. For example, `en_US`. If unset, the default locale
822- # is `en_US`.
820+ # The language code of the DateElement. For example, `en`. If unset, the default
821+ # locale is `en`. Limited to the following locales: `af`, `am`, `ar`, `az`, `be`,
822+ # `bg`, `bn`, `ca`, `cs`, `da`, `de`, `el`, `en`, `en-CA`, `en-GB`, `es`, `es-
823+ # 419`, `et`, `eu`, `fa`, `fi`, `fil`, `fr`, `fr-CA`, `gl`, `gu`, `hi`, `hr`, `
824+ # hu`, `hy`, `id`, `is`, `it`, `iw`, `ja`, `ka`, `kk`, `km`, `kn`, `ko`, `lo`, `
825+ # lt`, `lv`, `ml`, `mn`, `mr`, `ms`, `ne`, `nl`, `no`, `pa`, `pl`, `pt-BR`, `pt-
826+ # PT`, `ro`, `ru`, `si`, `sk`, `sl`, `sr`, `sv`, `sw`, `ta`, `te`, `th`, `tr`, `
827+ # uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`, `zu`, `cy`, `my`.
823828 # Corresponds to the JSON property `locale`
824829 # @return [String]
825830 attr_accessor :locale
0 commit comments