Changeset 48205 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Sep 9, 2009, 6:26:08 AM (16 years ago)
Author:
[email protected]
Message:

[Qt] locale date displays incorrect date format in symbian.
https://bugs.webkit.org/show_bug.cgi?id=29032

Patch by Pat Bradley <[email protected]> on 2009-09-08
Reviewed by Ariya Hidayat.

strftime() in Symbian does not support #
Layout tests cannot be run on Symbian yet, so they are not updated.

  • runtime/DatePrototype.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/DatePrototype.cpp

    r48202 r48205  
    199199#if HAVE(LANGINFO_H)
    200200    static const nl_item formats[] = { D_T_FMT, D_FMT, T_FMT };
    201 #elif PLATFORM(WINCE) && !PLATFORM(QT)
    202     // strftime() we are using does not support #
     201#elif (PLATFORM(WINCE) && !PLATFORM(QT)) || PLATFORM(SYMBIAN)
     202     // strftime() does not support '#' on WinCE or Symbian
    203203    static const char* const formatStrings[] = { "%c", "%x", "%X" };
    204204#else
Note: See TracChangeset for help on using the changeset viewer.