projects
/
profile
/
tv
/
apps
/
dotnet
/
home.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0422a37
)
Fix TVApps crash on bad date setted device.
author
cskim
<charles0.kim@samsung.com>
Thu, 27 Apr 2017 12:20:35 +0000
(21:20 +0900)
committer
ChulSeung Kim
<charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:53 +0000
(18:34 +0900)
Change-Id: I30bc5155bf50975505e473464c6534dcf4b881ae
LibTVRefCommonPortable/Utils/DateUtils.cs
patch
|
blob
|
history
diff --git
a/LibTVRefCommonPortable/Utils/DateUtils.cs
b/LibTVRefCommonPortable/Utils/DateUtils.cs
index
ee36ddb
..
f2e6e14
100644
(file)
--- a/
LibTVRefCommonPortable/Utils/DateUtils.cs
+++ b/
LibTVRefCommonPortable/Utils/DateUtils.cs
@@
-34,7
+34,7
@@
namespace LibTVRefCommonPortable.Utils
/// <returns>A date</returns>
public static DateTime GetRandomDate()
{
- DateTime baseDate =
new DateTime(2015, 1, 1
);
+ DateTime baseDate =
DateTime.Now.AddYears(-10
);
return baseDate.AddDays(seed.Next((DateTime.Now - baseDate).Days));
}
}