mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
fix
This commit is contained in:
parent
6d4c76f2a4
commit
6a527c3a2f
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user