@mtgame/core 0.1.73 → 0.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1547,7 +1547,7 @@
|
|
|
1547
1547
|
}
|
|
1548
1548
|
Object.defineProperty(TournamentSettings.prototype, "genderTitle", {
|
|
1549
1549
|
get: function () {
|
|
1550
|
-
var yearDiff = new Date().getFullYear() - this.
|
|
1550
|
+
var yearDiff = new Date().getFullYear() - this.birthYearFrom;
|
|
1551
1551
|
if (this.gender === exports.TournamentGender.male) {
|
|
1552
1552
|
if (yearDiff < 15) {
|
|
1553
1553
|
return 'Мальчики';
|