mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-03 21:24:30 +01:00 
			
		
		
		
	Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
This commit is contained in:
		
							parent
							
								
									60b9467630
								
							
						
					
					
						commit
						c82ea326a8
					
				@ -18,9 +18,9 @@ function always(s) {
 | 
			
		||||
 | 
			
		||||
// https://www.unicode.org/cldr/charts/33/summary/pl.html#1419
 | 
			
		||||
const units = {
 | 
			
		||||
  "second": always("s"),
 | 
			
		||||
  "second": always("sek."),
 | 
			
		||||
  "minute": always("min"),
 | 
			
		||||
  "hour": always("g."),
 | 
			
		||||
  "hour": always("godz."),
 | 
			
		||||
  "day": {
 | 
			
		||||
    "many": "dni",
 | 
			
		||||
    "few": "dni",
 | 
			
		||||
 | 
			
		||||
@ -28,9 +28,9 @@ function always(s) {
 | 
			
		||||
 | 
			
		||||
// https://www.unicode.org/cldr/charts/33/summary/pl.html#1419
 | 
			
		||||
const units = {
 | 
			
		||||
  "second": always("sek."),
 | 
			
		||||
  "second": always("s"),
 | 
			
		||||
  "minute": always("min"),
 | 
			
		||||
  "hour": always("godz."),
 | 
			
		||||
  "hour": always("g."),
 | 
			
		||||
  "day": {
 | 
			
		||||
    "many": "dni",
 | 
			
		||||
    "few": "dni",
 | 
			
		||||
@ -51,7 +51,7 @@ const units = {
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const rtf = new Intl.RelativeTimeFormat("pl-PL", {
 | 
			
		||||
  "style": "short",
 | 
			
		||||
  "style": "narrow",
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
assert.sameValue(typeof rtf.formatToParts, "function", "formatToParts should be supported");
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user