diff options
author | Hop311 <Hop3114@gmail.com> | 2024-08-03 00:50:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-03 00:50:17 +0200 |
commit | fde15e554dc9ed458a838683c69d10262764db12 (patch) | |
tree | 9e7af8634eafc8461bd02697dd48ae36ca924858 /extension/src/openvic-extension/utility/Utilities.cpp | |
parent | 8431914a6971cbacfb20bba13a4113d9ac4d5153 (diff) | |
parent | 06b76612b28183f0a047dac3a4127120d2af1b39 (diff) |
Merge pull request #249 from OpenVicProject/utf8-fix
Use UTF8 encoding and simplify godot string conversion
Diffstat (limited to 'extension/src/openvic-extension/utility/Utilities.cpp')
-rw-r--r-- | extension/src/openvic-extension/utility/Utilities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/openvic-extension/utility/Utilities.cpp b/extension/src/openvic-extension/utility/Utilities.cpp index 694b658..4a774a7 100644 --- a/extension/src/openvic-extension/utility/Utilities.cpp +++ b/extension/src/openvic-extension/utility/Utilities.cpp @@ -65,7 +65,7 @@ String Utilities::float_to_string_dp(float val, int32_t decimal_places) { /* Date formatted like this: "January 1, 1836" (with the month localised, if possible). */ String Utilities::date_to_formatted_string(Date date) { - const String month_name = std_view_to_godot_string_name(date.get_month_name()); + const String month_name = Utilities::std_to_godot_string(date.get_month_name()); const String day_and_year = " " + String::num_int64(date.get_day()) + ", " + String::num_int64(date.get_year()); TranslationServer const* server = TranslationServer::get_singleton(); if (server != nullptr) { |