diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-29 22:39:26 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-29 22:39:26 +0000 |
commit | e06676ea085e2fab7f49655ef48c7608cff307b1 (patch) | |
tree | 23cdcbc40c004329ba168c0a6138a76cb2af1594 /plugins/WhenWasIt/src/date_utils.cpp | |
parent | fc23840b513a10a422afa3628f039ce2d0cfa8d7 (diff) |
translation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/date_utils.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/date_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/WhenWasIt/src/date_utils.cpp b/plugins/WhenWasIt/src/date_utils.cpp index 856a2711ab..2dd9a3b91b 100644 --- a/plugins/WhenWasIt/src/date_utils.cpp +++ b/plugins/WhenWasIt/src/date_utils.cpp @@ -29,7 +29,7 @@ time_t Today() return mktime(date);
}
-int IsDOBValid(int year, int month, int day)
+bool IsDOBValid(int year, int month, int day)
{
return (year != 0 && month != 0 && day != 0);
}
@@ -89,7 +89,7 @@ char GetContactGender(HANDLE hContact) return gender;
}
-int IsLeapYear(int year)
+bool IsLeapYear(int year)
{
return ((year % 400 == 0) || ((year % 4 == 0) && (year % 100 != 0)));
}
|