mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-03 00:25:25 +08:00
update
This commit is contained in:
@ -335,7 +335,7 @@ FluButton {
|
||||
if (hours === "12") {
|
||||
hours24 = (period === control.amText) ? 0 : 12;
|
||||
} else {
|
||||
hours24 = (period === control.pmText) ? hours24 : hours24 + 12;
|
||||
hours24 = (period === control.pmText) ? hours24 + 12 : hours24;
|
||||
}
|
||||
}
|
||||
date.setHours(hours24);
|
||||
|
@ -335,7 +335,7 @@ FluButton {
|
||||
if (hours === "12") {
|
||||
hours24 = (period === control.amText) ? 0 : 12;
|
||||
} else {
|
||||
hours24 = (period === control.pmText) ? hours24 : hours24 + 12;
|
||||
hours24 = (period === control.pmText) ? hours24 + 12 : hours24;
|
||||
}
|
||||
}
|
||||
date.setHours(hours24);
|
||||
|
Reference in New Issue
Block a user