fix format
This commit is contained in:
parent
594371d23f
commit
8a624efe6f
2 changed files with 11 additions and 15 deletions
|
|
@ -123,15 +123,9 @@ class Extension {
|
|||
);
|
||||
}
|
||||
|
||||
public static ToThaiShortDate_perfixMonthYear(value: Date) {
|
||||
public static ToThaiShortDate_monthYear(value: Date) {
|
||||
let yy = value.getFullYear() < 2400 ? value.getFullYear() + 543 : value.getFullYear();
|
||||
return (
|
||||
value.getDate() +
|
||||
" เดือน " +
|
||||
Extension.ToThaiShortMonth(value.getMonth() + 1) +
|
||||
" พ.ศ. " +
|
||||
yy
|
||||
);
|
||||
return value.getDate() + " เดือน " + Extension.ToThaiMonth(value.getMonth() + 1) + " พ.ศ. " + yy;
|
||||
}
|
||||
|
||||
public static sumObjectValues(array: any, propertyName: any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue