Skip to content
Snippets Groups Projects
  • Andrew Dyukov's avatar
    0098a236
    STORM-180 FIXED Fixed crash on login in Japanese locale. · 0098a236
    Andrew Dyukov authored
    The crash was caused by erroneous getting of month name from vector with week day names in LLStringUtil::formatDatetime().
    This code woth introduced in June, so though it didn't work properly, it didn't cause the crash(cause June is 5th month). But when
    number of current month exceeded number of days in week(this happened in August cause it is 8th) code started getting 8th element from
    vector with 7. This caused the crash. It reproduced only on Japanese locale because only there code that caused it was used(see STORM-177
    for details). This changeset seems to fix STORM-177 too.
    
    - Used vector with months names where it should be.
    0098a236
    History
    STORM-180 FIXED Fixed crash on login in Japanese locale.
    Andrew Dyukov authored
    The crash was caused by erroneous getting of month name from vector with week day names in LLStringUtil::formatDatetime().
    This code woth introduced in June, so though it didn't work properly, it didn't cause the crash(cause June is 5th month). But when
    number of current month exceeded number of days in week(this happened in August cause it is 8th) code started getting 8th element from
    vector with 7. This caused the crash. It reproduced only on Japanese locale because only there code that caused it was used(see STORM-177
    for details). This changeset seems to fix STORM-177 too.
    
    - Used vector with months names where it should be.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.