We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf0fc8 commit 50aea15Copy full SHA for 50aea15
icu4c/source/i18n/messageformat2_function_registry.cpp
@@ -870,7 +870,7 @@ StandardFunctions::DateTimeValue::DateTimeValue(DateTimeFactory::DateTimeType ty
870
UnicodeString dateStyleOption = opts.getStringFunctionOption(dateStyleName);
871
UnicodeString timeStyleOption = opts.getStringFunctionOption(timeStyleName);
872
bool hasDateStyleOption = dateStyleOption.length() > 0;
873
- bool hasTimeStyleOption = dateStyleOption.length() > 0;
+ bool hasTimeStyleOption = timeStyleOption.length() > 0;
874
bool noOptions = opts.optionsCount() == 0;
875
876
using DateTimeType = DateTimeFactory::DateTimeType;
0 commit comments