[longomatch/newui: 69/157] Default birthday set to 25 years ago to make it easier to reach the right date with the calendar wid
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/newui: 69/157] Default birthday set to 25 years ago to make it easier to reach the right date with the calendar wid
- Date: Mon, 1 Sep 2014 09:47:10 +0000 (UTC)
commit 41aae5629e0460abf553b6d48ed200b51ea7fa6d
Author: Julien Moutte <julien fluendo com>
Date: Fri Aug 22 17:08:26 2014 +0200
Default birthday set to 25 years ago to make it easier to reach the right date with the calendar widget.
We need to make the entry editable anyway..
LongoMatch.Core/Store/Templates/TeamTemplate.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Core/Store/Templates/TeamTemplate.cs b/LongoMatch.Core/Store/Templates/TeamTemplate.cs
index 2cde095..e2aa919 100644
--- a/LongoMatch.Core/Store/Templates/TeamTemplate.cs
+++ b/LongoMatch.Core/Store/Templates/TeamTemplate.cs
@@ -134,7 +134,7 @@ namespace LongoMatch.Store.Templates
public Player AddDefaultItem (int i) {
Player p = new Player {
Name = "Player " + (i+1).ToString(),
- Birthday = new DateTime(),
+ Birthday = new DateTime(DateTime.Now.Year - 25, 6, 1),
Height = 1.80f,
Weight = 80,
Number = i+1,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]