You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: format_ko_kr.go
    path of file: ./repos/cointop/vendor/github.com/goodsign/monday
    
    the code of the file until where you have to start completion: package monday

import "strings"

// ============================================================
// F
    
func parseFuncKoCommon(locale Locale) internalParseFunc {
	return func(layout, value string) string {
		// This special case is needed because ko_KR... contains month names
		// that consist of a number, a delimiter, and '월'. Example: "September" = "9 월"
		//
		// This means that probably default time package layout IDs like 'January' or 'Jan'
		// shouldn't be used in ko_KR. But this is a time-compatible package, so someone
		// might actually use those and we need to replace those before doing standard procedures.

		for k, v := range knownMonthsLongReverse[locale] {
			value = strings.Replace(value, k, v, -1)
		}

		value = commonFormatFunc(value, layout,
			knownDaysShortReverse[locale], knownDaysLongReverse[locale],
			knownMonthsShortReverse[locale], knownMonthsLongReverse[locale], knownPeriods[locale])

		// knownPeriodsReverse has hash collisions
		for k, v := range knownPeriodsReverse[locale] {
			targetValue := strings.ToLower(v)
			if strings.Index(layout, "PM") != -1 {
				targetValue = strings.ToUpper(v)
			}
			value = strings.Replace(value, k, targetValue, -1)
		}

		return value
	}
}