diff options
author | crupest <crupest@outlook.com> | 2020-08-11 16:19:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-11 16:19:46 +0800 |
commit | 4685d69fe965b32438c399a4ad4a3deee9fb0a55 (patch) | |
tree | 3680857e4fe4c00af4a682430efa87161a210279 /Timeline/Services/UserService.cs | |
parent | c3369742b6e68714d0a7df46a99a0798eb2d6940 (diff) | |
download | timeline-4685d69fe965b32438c399a4ad4a3deee9fb0a55.tar.gz timeline-4685d69fe965b32438c399a4ad4a3deee9fb0a55.tar.bz2 timeline-4685d69fe965b32438c399a4ad4a3deee9fb0a55.zip |
Migrate DateTimeOffset to DateTime.
Diffstat (limited to 'Timeline/Services/UserService.cs')
-rw-r--r-- | Timeline/Services/UserService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/UserService.cs b/Timeline/Services/UserService.cs index c186c170..d9b3da26 100644 --- a/Timeline/Services/UserService.cs +++ b/Timeline/Services/UserService.cs @@ -332,7 +332,7 @@ namespace Timeline.Services {
if (info != null)
{
- DateTimeOffset now = _clock.GetCurrentTime();
+ var now = _clock.GetCurrentTime();
bool updateLastModified = false;
var username = info.Username;
|