Skip to content

Commit

Permalink
Resolving review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
v-raghulraja committed Jan 9, 2025
1 parent 2539ba0 commit 7cf753c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ protected override bool TryGetField(FormulaType fieldType, string fieldName, out
if (long.TryParse(jsPropertyValueModel.PropertyValue, out milliseconds))
{
var dateTimeOffset = DateTimeOffset.FromUnixTimeMilliseconds(milliseconds);
DateTime trueDateTime = dateTimeOffset.LocalDateTime;
//var trueDateTime = new DateTime(1970, 1, 1, 0, 0, 0).AddMilliseconds(milliseconds);
DateTime trueDateTime = dateTimeOffset.LocalDateTime;
result = DateValue.NewDateOnly(trueDateTime.Date);
}
// When converted from DateTime to a string, a value from SetProperty() retains it's MMDDYYYY hh::mm::ss format
Expand Down

0 comments on commit 7cf753c

Please sign in to comment.