[longomatch] Default birthday set to 25 years ago to make it easier to reach the right date with the calendar wid



commit 6e8f247586f2447fa22a14a43afdf88863f9847b
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]