[webkit-changes] cvs commit: JavaScriptCore/kjs date_object.cpp

David hyatt at opensource.apple.com
Fri Dec 16 15:01:34 PST 2005


hyatt       05/12/16 15:01:34

  Modified:    kjs      date_object.cpp
  Log:
  Fix the calls to strftime on the non-apple code path to take const tm* and not just tm
  
  Revision  Changes    Path
  1.66      +1 -0      JavaScriptCore/kjs/date_object.cpp
  
  Index: date_object.cpp
  ===================================================================
  RCS file: /cvs/root/JavaScriptCore/kjs/date_object.cpp,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- date_object.cpp	16 Dec 2005 22:56:41 -0000	1.65
  +++ date_object.cpp	16 Dec 2005 23:01:33 -0000	1.66
  @@ -585,6 +585,7 @@
       return jsString(formatLocaleDate(exec, secs, false, true, args));
       break;
   #else
  +  case ToLocaleString:
       strftime(timebuffer, bufsize, "%c", &t);
       return jsString(timebuffer);
       break;
  
  
  



More information about the webkit-changes mailing list