 		if (valueString == null || inputFormat == null)
 			return null;
 		
-		var monthNames:Array = ResourceManager.getInstance()
-			.getStringArray("SharedResources", "monthNames");
+		var monthNames:Array = ResourceManager.getInstance().getStringArray("SharedResources", "monthNames");	
+		var noMonths:int = monthNames.length;
+		var locales:Array = ResourceManager.getInstance().localeChain;
+		var locale:Locale = new Locale(locales[0]);
 		
-		var noMonths:int = monthNames.length;
 		for (var i:int = 0; i < noMonths; i++) {
 			valueString = valueString.replace(monthNames[i], (i+1).toString());
-			valueString = valueString.replace(monthNames[i].substr(0,3), (i+1).toString());
+			valueString = valueString.replace(shortMonthName(monthNames[i], locale, monthNames), (i+1).toString());
 		}
 		
 		length = valueString.length;

			}
			else if (fullMask == "MMM")
			{
				output += monthNames[value.getMonth()].substr(0,3);
			}
			else if (fullMask == "MMMM")
			{	

import mx.managers.IFocusManagerComponent;
import mx.managers.ISystemManager;
import mx.managers.PopUpManager;
import mx.resources.Locale;
import mx.resources.ResourceManager;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
