https://bz.apache.org/bugzilla/show_bug.cgi?id=60369

Patrick Metz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Patrick Metz <[email protected]> ---
I think we found the place where things go wrong.

It's in the class 'ExcelStyleDateFormatter':

        // Now handle our special cases
        if (s.indexOf(MMMMM_START_SYMBOL) != -1) {
            s = s.replaceAll(
                    MMMMM_START_SYMBOL + "(\\w)\\w+" + MMMMM_TRUNCATE_SYMBOL,
                    "$1"
            );
        }

In Java 8 the short form for 'March' in German is now 'Mär', in Java 7 this was
'Mrz'. So the above regex does not work in this case as there is an Umlaut
which is not handled by \w.


Cheers
Patrick

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to