From 77cdeb6c452f75e3a8b966ecdfb9d8859f116c39 Mon Sep 17 00:00:00 2001 From: Ebicoglu Date: Wed, 6 Oct 2021 13:50:30 +0300 Subject: [PATCH] Update Abp-5_0.md --- docs/en/Migration-Guides/Abp-5_0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/Migration-Guides/Abp-5_0.md b/docs/en/Migration-Guides/Abp-5_0.md index 6386146177..83d8ad62c0 100644 --- a/docs/en/Migration-Guides/Abp-5_0.md +++ b/docs/en/Migration-Guides/Abp-5_0.md @@ -36,7 +36,7 @@ For document base databases like MongoDB, you need to manually update the `IsAct ABP Framework will serialize the datetime based on [AbpClockOptions](https://docs.abp.io/en/abp/latest/Timing#clock-options) starting from ABP v5.0. It was saving `DateTime` values as UTC in MongoDB. Check out [MongoDB Datetime Serialization Options](https://mongodb.github.io/mongo-csharp-driver/2.13/reference/bson/mapping/#datetime-serialization-options). -You can disable this behavior with `AbpMongoDbOptions`: +To revert back this feature, set `UseAbpClockHandleDateTime = false` in `AbpMongoDbOptions`: ```cs services.Configure(x => x.UseAbpClockHandleDateTime = false);