diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-04 15:23:15 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-04 15:23:15 -0400 |
| commit | 4752d12aaa0aa3dcb6bb476910a7072556c70f85 (patch) | |
| tree | d8d7134c07e7d178629385727c3faee8dae3398f /MediaBrowser.Controller/IO/FileData.cs | |
| parent | f931a375cfa7b07e376742bb86eb08cef87d262f (diff) | |
Switched date operations to utc
Diffstat (limited to 'MediaBrowser.Controller/IO/FileData.cs')
| -rw-r--r-- | MediaBrowser.Controller/IO/FileData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/IO/FileData.cs b/MediaBrowser.Controller/IO/FileData.cs index b9bc7ea75..75069d4d5 100644 --- a/MediaBrowser.Controller/IO/FileData.cs +++ b/MediaBrowser.Controller/IO/FileData.cs @@ -188,7 +188,7 @@ namespace MediaBrowser.Controller.IO }
}
- public DateTime CreationTime
+ public DateTime CreationTimeUtc
{
get
{
@@ -196,7 +196,7 @@ namespace MediaBrowser.Controller.IO }
}
- public DateTime LastAccessTime
+ public DateTime LastAccessTimeUtc
{
get
{
@@ -204,7 +204,7 @@ namespace MediaBrowser.Controller.IO }
}
- public DateTime LastWriteTime
+ public DateTime LastWriteTimeUtc
{
get
{
@@ -216,7 +216,7 @@ namespace MediaBrowser.Controller.IO {
long highBits = filetime.dwHighDateTime;
highBits = highBits << 32;
- return DateTime.FromFileTime(highBits + (long)filetime.dwLowDateTime);
+ return DateTime.FromFileTimeUtc(highBits + (long)filetime.dwLowDateTime);
}
public string Path { get; set; }
|
