Info
@if (!string.IsNullOrEmpty(Model.UserAccount.Profile?.TimeZone))
{
Time Zone
@Model.GetCurrentTimeInTimeZone(Model.UserAccount.Profile.TimeZone)
·
@Model.GetOffsetUtcString(Model.UserAccount.Profile.TimeZone)
·
@Model.UserAccount.Profile.TimeZone
}
@if (!string.IsNullOrEmpty(Model.UserAccount.Profile?.Location))
{
Location
@Model.UserAccount.Profile.Location
}
@if (!string.IsNullOrEmpty(Model.UserAccount.Profile?.FirstName) || !string.IsNullOrEmpty(Model.UserAccount.Profile?.LastName))
{
Name
@string.Join(" ", new[]
{
Model.UserAccount.Profile.FirstName,
Model.UserAccount.Profile.MiddleName,
Model.UserAccount.Profile.LastName
}.Where(s => !string.IsNullOrEmpty(s)))
}
@if (!string.IsNullOrEmpty(Model.UserAccount.Profile?.Gender))
{
Gender
@Model.UserAccount.Profile.Gender
@if (!string.IsNullOrEmpty(Model.UserAccount.Profile?.Pronouns))
{
·
@Model.UserAccount.Profile.Pronouns
}
}
Joined at
@Model.UserAccount.CreatedAt?.ToDateTimeOffset().ToString("MMMM d, yyyy")
@if (Model.UserAccount.Profile?.Birthday != null)
{
Birthday
@Model.CalculateAge(Model.UserAccount.Profile.Birthday.ToInstant()) yrs old
·
@Model.UserAccount.Profile.Birthday?.ToDateTimeOffset().ToString("MMMM d")
}