From: Cuong Le Date: Fri, 23 Sep 2011 04:02:16 +0000 (+0700) Subject: changes index page X-Git-Url: http://git.maemo.org/git/?p=lichviet;a=commitdiff_plain;h=56f6993e735c0e3ca9b5afcc30026acb7bf371ea changes index page --- diff --git a/qml/LichViet/amlich-hnd.js b/qml/LichViet/amlich-hnd.js index fbcdae5..ec77e95 100644 --- a/qml/LichViet/amlich-hnd.js +++ b/qml/LichViet/amlich-hnd.js @@ -157,6 +157,7 @@ function decodeLunarYear(yy, k) { LML = leapMonthLength; RMM = regularMonths; + return ly; } @@ -201,6 +202,7 @@ function getYearInfo(yyyy) { var FIRST_DAY = jdn(25, 1, 1800); // Tet am lich 1800 var LAST_DAY = jdn(31, 12, 2199); + function findLunarDate(jd, ly) { if (jd > LAST_DAY || jd < FIRST_DAY || ly[0].jd > jd) { return new LunarDate(0, 0, 0, 0, jd); @@ -211,6 +213,7 @@ function findLunarDate(jd, ly) { } var off = jd - ly[i].jd; var ret = new LunarDate(ly[i].day+off, ly[i].month, ly[i].year, ly[i].leap, jd); + return ret; } diff --git a/www/index.html b/www/index.html index 5a11e71..71fe27b 100644 --- a/www/index.html +++ b/www/index.html @@ -18,7 +18,7 @@ * Lịch Việt (VietNamese Lunar Calendar) dành cho Maemo 5 (PR1.3) và MeeGo 1.2 Harmattan.
* Ngôn ngữ : Tiếng Việt
* Phát triển bởi : Cuong Le (metacuong@gmail.com)
-* Phiên bản mới nhất : 1.0.2-7 unstable-develop
+* Phiên bản mới nhất : 1.0.2-7-fremantle1 unstable-develop
* Đang ở kho : extras-devel, extras-testing
* Sử dụng giấy phép nguồn mở : GNU/GPLv2
* Thư viện nền : QML Bindings in C++, QtQuick, và Qt libs 4.7.4 released @@ -26,7 +26,7 @@ * Mã nguồn được host tại garage.maemo.org : https://garage.maemo.org/plugins/ggit/browse.php/?p=lichviet
* Báo cáo lỗi : https://garage.maemo.org/tracker/?group_id=2235

Cài đặt

-* Dùng dpkg -i trong terminal (lưu ý phải có quyền root), tải về phiên bản mới nhất tại đây (deb package). +* Dùng dpkg -i trong terminal (lưu ý phải có quyền root), tải về phiên bản mới nhất tại đây (deb package).
* Dùng App. Manager để tải về và cài đặt (dùng từ khóa : 'Lich' để tìm) từ kho extras-devel.

Sự cố và cách khắc phục sau khi cài đặt và chạy

* Bị đen màn hình -> tiến hành cài đặt 2 gói mcsp và qtquickcompat. @@ -37,6 +37,6 @@

-This page was last modified 08:59 PM, 16 Septemper 2011 (UTC + 7). +This page was last modified 10:50 AM, 23 Septemper 2011 (UTC + 7).