fix locales

This commit is contained in:
yamada28go
2015-05-05 13:41:45 +09:00
parent fd8ee5632f
commit 3f179dbc0b

12
xdate/xdate.d.ts vendored
View File

@@ -12,6 +12,16 @@ interface formatters_info
vvv?: (xdate : XDate , useutc : boolean ) => string;
}
interface locale_detail
{
monthNames? : string [];
monthNamesShort?: string [];
dayNames?: string[];
dayNamesShort?: string [];
amDesignator?: string;
pmDesignator?: string;
}
declare class XDate {
@@ -354,7 +364,7 @@ declare class XDate {
public static UTC(year : number , month : number , date : number , hours : number,
minutes : number , seconds : number , milliseconds : number ) : XDate;
public static locales : Object;
public static locales : { [key: string]: locale_detail; };
public static defaultLocale : string;
public static formatters : formatters_info;