Skip to content

Commit

Permalink
Add ReadAsLocalTimeProperty to Connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanwin committed May 5, 2010
1 parent 2a7ca5b commit 00a8a8a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/MongoDB/Configuration/MongoConfiguration.cs
Expand Up @@ -40,6 +40,16 @@ public class MongoConfiguration
/// <value>The mapping store.</value>
public IMappingStore MappingStore { get; set; }

/// <summary>
/// Reads DataTime from server as local time.
/// </summary>
/// <value><c>true</c> if [read local time]; otherwise, <c>false</c>.</value>
/// <remarks>
/// MongoDB stores all time values in UTC timezone. If true the
/// time is converted from UTC to local timezone after is was read.
/// </remarks>
public bool ReadLocalTime { get; set; }

/// <summary>
/// Validates this instance.
/// </summary>
Expand Down

0 comments on commit 00a8a8a

Please sign in to comment.