mirror of
https://github.com/4sval/FModel.git
synced 2026-08-23 09:54:32 -05:00
fix
This commit is contained in:
@@ -12,7 +12,7 @@ public class RelativeDateTimeConverter : IValueConverter
|
||||
{
|
||||
if (value is DateTime dateTime)
|
||||
{
|
||||
var timeSpan = DateTime.Now - dateTime;
|
||||
var timeSpan = DateTime.Now - dateTime.ToLocalTime();
|
||||
|
||||
int time;
|
||||
string unit;
|
||||
|
||||
Reference in New Issue
Block a user