<DateFormatting> <!-- The node <DateFormatting> is optional. In this section, you can specify formatting options to display dates, including the calendar and language. If you wish the date formatting from the control panel, remove/comment the nodes <Months>, <Weekdays>, <Digits> and <FmtDateDefault>. At the moment, there are only five supported calendars: Gregorian, Julian, Hebrew, Korean and Thai. --> <Calendar>Gregorian</Calendar> <Months> <!-- Use the attribute "S" for short months and weekdays --> <Jan S="Jan">January</Jan> <Feb>February</Feb> <Mar>March</Mar> <Apr>April</Apr> <May>May</May> <Jun>June</Jun> <Jul>July</Jul> <Aug>August</Aug> <Sep>September</Sep> <Oct>October</Oct> <Nov>November</Nov> <Dec>December</Dec> <Sol></Sol> <!-- Sol is the 13th month, depending on the calendar used --> </Months> <Weekdays FirstDay="1"> <!-- 1=Sun, 2=Mon 7=Sat etc. --> <Sun>Sunday</Sun> <Mon S="Mon">Monday</Mon> <Tue>Tuesday</Tue> <Wed>Wednesday</Wed> <Thu>Thursday</Thu> <Fri>Friday</Fri> <Sat>Saturday</Sat> </Weekdays> <Digits>0123456789</Digits> <!-- Date Formatting Options: d = day in numerical format D = day with rank (1st, 2nd, 3rd, ... 31st) DD = day ordinal (first, second third, ... thirty-first) DDD = day cardinal (one, two, three, ... thirty-one) [ ] = display a date prefix (exact date, approximate date, before or after) GenoPro uses the standard date formatting options from the .NET framework. --> <FmtDateDefault> <!-- Default date formatting templates --> <FmtYMD>[|~|<|>]MMM D, yyyy</FmtYMD> <!-- Jan 31st, 2006 --> <FmtYM>[|~|<|>]MMM yyyy</FmtYM> <!-- Jan 2006 --> <FmtY>[|~|<|>]yyyy</FmtY> <!-- 2006 --> <FmtMD>[|~|<|>]MMM D</FmtMD> <!-- Jan 31st --> </FmtDateDefault> <FmtDateNarrative> <!-- Templates to format narrative dates --> <FmtYMD> [on|about|before|after] MMMM D, yyyy</FmtYMD> <!-- He was born on January 31st, 2006 --> <FmtYM> [in|about|before|after] MMMM yyyy</FmtYM> <!-- He was born in January 2006 --> <FmtY> [in|about|before|after] yyyy</FmtY> <!-- He was born in 2006 --> <FmtMD> [on|about|before|after] MMMM D</FmtMD> <!-- He was born on January 31st --> </FmtDateNarrative> <!-- Short and long date formats are only taken if day month and year are known, otherwise the default date format is used --> <!-- date.ToString("d") --> <FmtDateShort>[|~|<|>]yyyy-MM-dd</FmtDateShort> <!-- 2006-01-31 --> <!-- date.ToString("D") --> <FmtDateLong>[|about |before |after ]dddd, MMMM D, yyyy</FmtDateLong> <!-- Monday, January 31st, 2006 --> <FmtDateRange> <FmtSinceYMD>from [|about |before |after ]MMMM D, yyyy</FmtSinceYMD> <FmtSinceYM>from [|about |before |after ]MMMM yyyy</FmtSinceYM> <FmtSinceY>from [|about |before |after ]yyyy</FmtSinceY> <FmtSinceMD>from [|about |before |after ]MMMM D</FmtSinceMD> <FmtUntilYMD>until [|about |before| after] MMMM D, yyyy</FmtUntilYMD> <FmtUntilYM>until [|about |before |after ]MMMM yyyy</FmtUntilYM> <FmtUntilY>until [|about |before |after ]yyyy</FmtUntilY> <FmtUntilMD>until [|about |before |after ]MMMM D</FmtUntilMD> <FmtFromYMD>from [|about |before |after ]MMMM D, yyyy</FmtFromYMD> <FmtFromYM>from [|about |before |after ]MMMM yyyy</FmtFromYM> <FmtFromY>from [|about |before |after ]yyyy</FmtFromY> <FmtFromMD>from [|about |before |after ]MMMM D</FmtFromMD> <FmtToYMD>to [|about |before| after] MMMM D, yyyy</FmtToYMD> <FmtToYM>to [|about |before |after ]MMMM yyyy</FmtToYM> <FmtToY>to [|about |before |after ]yyyy</FmtToY> <FmtToMD>to [|about |before |after ]MMMM D</FmtToMD> <FmtFromAndTo>{0} {1}</FmtFromAndTo> <!-- e.g. French version, replace above with the following (after correcting my Google-based translations!) : <FmtDateRange> <FmtSinceYMD>[à partir du|aux environs du|avant le|après le] d MMMM yyyy</FmtSinceYMD> <FmtSinceYM>[à partir de|aux environs de|avant|après] MMMM yyyy</FmtSinceYM> <FmtSinceY>[à partir de|aux environs de|avant|après] yyyy</FmtSinceY> <FmtSinceMD>[à partir du|aux environs du|avant le|après le] d MMMM</FmtSinceMD> <FmtUntilYMD>[jusqu'au|jusqu'aux environs du|jusqu'avant le|jusqu'àprès le] d MMMM yyyy</FmtUntilYMD> <FmtUntilYM>[jusqu'en|jusqu'aux environs de|jusqu'avant|jusqu'après] MMMM yyyy</FmtUntilYM> <FmtUntilY>[jusqu'en|jusqu'aux environs de|jusqu'avant|jusqu'après] yyyy</FmtUntilY> <FmtUntilMD>[jusqu'en|jusqu'aux environs du|jusqu'avant|jusqu'àprès] d MMMM</FmtUntilMD> <FmtFromYMD>[du|d'environ du|d'avant le|d'après le] d MMMM yyyy</FmtFromYMD> <FmtFromYM>[de|d'environ|d'avant|d'après] MMMM yyyy</FmtFromYM> <FmtFromY>[de|d'environ|d'avant|d'après] yyyy</FmtFromY> <FmtFromMD>[du|d'environ du|d'avant le|d'après le] d MMMM</FmtFromMD> <FmtToYMD>[au|aux environs du|à avant le|à après le] d MMMM yyyy</FmtToYMD> <FmtToYM>[à|aux environs de|à avant|à après] MMMM yyyy</FmtToYM> <FmtToY>[à|aux environs de|à avant|à après] yyyy</FmtToY> <FmtToMD>[au|aux environs du|à avant le|à après le]d MMMM</FmtToMD> <FmtFromAndTo>{0} {1}</FmtFromAndTo> </FmtDateRange> --> </FmtDateRange> <FmtTimeSpan> <!-- Duration Formatting Options: {} Output the value in numeric format (1, 2, 3, ...) {N} Output the value in narrative cardinal (one, two, three, ...) --> <FmtYear>{N} year</FmtYear> <FmtYears>{N} years</FmtYears> <FmtMonth>{N} month</FmtMonth> <FmtMonths>{N} months</FmtMonths> <FmtDay>{N} day</FmtDay> <FmtDays>{N} days</FmtDays> <FmtYMD>{0}, {1} and {2}</FmtYMD> <!-- two years, six months and twelve days --> <FmtYM>{0} and {1}</FmtYM> <!-- one year and four months --> <FmtMD>{0} and {1}</FmtMD> <!-- nine months and one day --> </FmtTimeSpan> </DateFormatting> |