ICU-21498 Improve comment in uprv_tzname

This commit is contained in:
yumaoka 2021-03-08 09:39:40 -05:00 committed by Yoshito Umaoka
parent d624e5fb4b
commit d80f7bbd0e

View file

@ -1139,7 +1139,7 @@ uprv_tzname(int n)
#endif
if (tzid != NULL && isValidOlsonID(tzid)
#if U_PLATFORM == U_PF_SOLARIS
/* When TZ equals localtime on Solaris, check the /etc/localtime file. */
/* Don't misinterpret TZ "localtime" on Solaris as a time zone name. */
&& uprv_strcmp(tzid, TZ_ENV_CHECK) != 0
#endif
) {