feat: allow to config a translation for date (#739)
* fix: alt error mix with height/width More granular detection of alt and resize in image * fix: format * feat: allow to translate the date displayed * style: format * fix: rename to fusion dateLocale with locale (i18n support) * Update quartz/components/PageList.tsx Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com> * remove default key as it was already set * add docstring for locale --------- Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
This commit is contained in:
		@@ -35,6 +35,12 @@ export interface GlobalConfiguration {
 | 
			
		||||
   */
 | 
			
		||||
  baseUrl?: string
 | 
			
		||||
  theme: Theme
 | 
			
		||||
  /**
 | 
			
		||||
   * The locale to use for date formatting. Default to "en-US"
 | 
			
		||||
   * Allow to translate the date in the language of your choice.
 | 
			
		||||
   * Need to be formated following the IETF language tag format (https://en.wikipedia.org/wiki/IETF_language_tag)
 | 
			
		||||
   */
 | 
			
		||||
  locale?: string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface QuartzConfig {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user