-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement of timezone names for better standardization and comprehensiveness #75
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updated project version to 0.9.017. Updated dependencies: - LibreHardwareMonitorLib to 0.9.4-pre342 - Microsoft.Xaml.Behaviors.Wpf to 1.1.135 - NLog to 5.3.4 - OpenAI-DotNet to 8.2.5
- Modified `IntelliGPTModel` enum in `IntelliChatModule.cs`: - Removed `gpt-4o-mini`, `embedding_Ada_002`, and `DallE_3`. - Added `gpt-4`. - Renamed `text-moderation-latest` to `omni-moderation-latest`. - Updated project version in `MagicChatbox.csproj` from `0.9.015` to `0.9.016`. - Upgraded package references in `MagicChatbox.csproj`: - `LibreHardwareMonitorLib` to `0.9.4-pre348`. - `Microsoft.Xaml.Behaviors.Wpf` to `1.1.135`. - `NLog` to `5.3.4`. - `OpenAI-DotNet` to `8.3.0`.
Updated ComponentStatsModule.cs to improve time zone handling and formatting: - Added methods `GetFormattedTime` and `GetTime` for time formatting and conversion. - Replaced `timezoneLabel` with `standardAbbreviation` and `daylightAbbreviation`. - Added new time zones: MST, AKST, HST, EET, CSTChina, KST, MSK, NZST, BRT, and SAST. - Enhanced daylight saving time logic and time zone offset formatting. - Added `UpdateStats` method for updating component statistics. Updated InternalEnums.cs to include new time zones in the `Timezone` enum: - Added GMT, MST, AKST, HST, EET, IST, CSTChina, JST, KST, MSK, NZST, BRT, and SAST. - Removed duplicate entries for GMT, IST, and JST. Updated ViewModel.cs to include friendly names for new time zones: - Added friendly names for MST, AKST, HST, EET, CSTChina, KST, MSK, NZST, BRT, and SAST. - Updated friendly names for existing time zones to be more descriptive.
Replaced IntelliGPTModel.gpt4o_mini with IntelliGPTModel.gpt4o for spelling checks, language translation, and text shortening. Updated model assignment in settings initialization.
Incremented project version from 0.9.016 to 0.9.017. Downgraded package references: - LibreHardwareMonitorLib: 0.9.4-pre348 to 0.9.4-pre338 - Microsoft.Xaml.Behaviors.Wpf: 1.1.135 to 1.1.122 - NLog: 5.3.4 to 5.3.3 - OpenAI-DotNet: 8.3.0 to 8.2.2
Updated MagicChatbox.csproj to increment the project version from 0.9.017 to 0.9.018, indicating a minor update or patch.
Removed comments indicating non-observance of DST for the following time zones: UTC, HST, IST, CST (China), JST, KST, MSK, and SAST. The code logic for setting the `daylightAbbreviation` variable remains unchanged.
The entire content of the `VRChatOSCQuery.cs` file has been removed. This includes all `using` directives, the `VRChatOSCQuerySettings` class with its properties and methods, and the `VRChatOSCQuery` class with its methods and event handling.
Refactored the MainWindow closing logic to support asynchronous operations. Updated `SentClearMessage` in `OSCSender.cs` to accept a delay parameter. Replaced `SaveDataToDisk` with an asynchronous version `MainWindow_ClosingAsync` in `MainWindow.xaml.cs`, which temporarily cancels the window closing event to await async tasks. Added a new method `SaveDataToDiskAsync` for async save operations and included exception handling in both async methods.
Incremented project version from 0.9.018 to 0.9.019. Updated the following packages: - LibreHardwareMonitorLib from 0.9.4-pre338 to 0.9.4-pre348 - Microsoft.Xaml.Behaviors.Wpf from 1.1.122 to 1.1.135 - NLog from 5.3.3 to 5.3.4 - OpenAI-DotNet from 8.2.2 to 8.3.0
Incremented version in MagicChatbox.csproj to 0.9.020.
Enhanced progress bar handling in `OSCController.cs` and `MediaLinkModule.cs` to correctly repeat emojis and multi-character strings using `string.Concat(Enumerable.Repeat(...))`. Added a new private static method `CreateTimeStamp` in `OSCController.cs` for formatting timestamps. Updated `percentage` and `fullTime` values in `MediaLinkModule.cs` for preview purposes. Introduced a new property `SpaceAgainObjects` in `MediaLinkModule.cs` to manage the `spaceAgainObjects` field.
Updated the version number in MagicChatbox.csproj from 0.9.020 to 0.9.021 to reflect recent updates, bug fixes, or improvements.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Classification
Enhancement of timezone names for better standardization and comprehensiveness.
PR Summary
Updated the
TimezoneFriendlyNames
dictionary to include more comprehensive and standardized timezone names.vrcosc_magicchatbox.ViewModels
: Removed outdated timezone names and added new standardized names such as "Eastern Time (US & Canada)", "Central European Time (CET)", and "China Standard Time (CST)".