Revert "Fixed modified by localization, and added DateTimeFormat to localization"

This reverts commit 4a8bcc6f71.
This commit is contained in:
HonesDK 2023-08-14 16:51:21 +02:00
parent 4a8bcc6f71
commit dbb58541f2
2 changed files with 2 additions and 7 deletions

View File

@ -40,8 +40,6 @@
protected override void OnParametersSet()
{
DateTimeFormat = Localizer["DateTimeFormat"];
_text = string.Empty;
if (!String.IsNullOrEmpty(CreatedBy) || CreatedOn.HasValue)
{
@ -66,12 +64,12 @@
if (!String.IsNullOrEmpty(ModifiedBy))
{
_text += $" {Localizer["By"]} <b>{ModifiedBy}</b>";
_text += $" {Localizer["by"]} <b>{ModifiedBy}</b>";
}
if (ModifiedOn != null)
{
_text += $" {Localizer["On"]} <b>{ModifiedOn.Value.ToString(DateTimeFormat)}</b>";
_text += $" {Localizer["on"]} <b>{ModifiedOn.Value.ToString(DateTimeFormat)}</b>";
}
_text += "</p>";

View File

@ -132,7 +132,4 @@
<data name="Deleted" xml:space="preserve">
<value>Deleted</value>
</data>
<data name="DateTimeFormat" xml:space="preserve">
<value>MMM dd yyyy HH:mm:ss</value>
</data>
</root>