mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-13 11:27:21 +00:00
Fixed plugin values which depended on the region settings of the computer (#1194)
This commit is contained in:
1 parent
65d50de033
commit
a1b493cb13
20 files changed
+397
-137
No files matched your search
+5
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user