projects
/
lichviet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Know bugs fixed.
[lichviet]
/
qml
/
LichViet
/
CacNgayLeTrongNam.js
diff --git
a/qml/LichViet/CacNgayLeTrongNam.js
b/qml/LichViet/CacNgayLeTrongNam.js
index
0af4c81
..
fff991a
100644
(file)
--- a/
qml/LichViet/CacNgayLeTrongNam.js
+++ b/
qml/LichViet/CacNgayLeTrongNam.js
@@
-115,6
+115,10
@@
function get(obj) {
}
function is_holiday(day, month, lunar_day, lunar_month){
+
+ if (day === 0 || month === 0)
+ return false;
+
for(var i=0;i<DuongLich.length;i++)
if (DuongLich[i][0] == day && DuongLich[i][1] ==month)
return true;