Fixed plugin values which depended on the region settings of the computer (#1194)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-12 08:57:50 +01:00
1 parent 65d50de033
commit a1b493cb13
20 files changed
+397 -137

No files matched your search

@@ -539,7 +539,11 @@ public partial class DocumentAnalysisAssistant : AssistantBaseCore<NoSettingsPan
{
Id = Guid.NewGuid().ToString(),
Num = this.SettingsManager.ConfigurationData.NextDocumentAnalysisPolicyNum++,
PolicyName = string.Format(T("Policy {0}"), DateTimeOffset.UtcNow),
//
// The date follows the language of the app, like the rest of the name. With seconds, so that two
// policies added right after each other do not get the same name, which has to be unique:
//
PolicyName = string.Format(T("Policy {0}"), DateTime.Now.ToString("G", Tools.PluginSystem.I18N.I.Culture)),
});
await this.SettingsManager.StoreSettings();