-
paroga@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=92067 Reviewed by Geoffrey Garen. Source/JavaScriptCore: Use the full year instead of the offset from year 1900 for the year member variable of GregorianDateTime. * runtime/DateConstructor.cpp: (JSC::constructDate): (JSC::dateUTC): * runtime/DateConversion.cpp: (JSC::formatDate): (JSC::formatDateUTCVariant): * runtime/DatePrototype.cpp: (JSC::formatLocaleDate): (JSC::fillStructuresUsingDateArgs): (JSC::dateProtoFuncToISOString): (JSC::dateProtoFuncGetFullYear): (JSC::dateProtoFuncGetUTCFullYear): (JSC::dateProtoFuncSetYear): * runtime/JSDateMath.cpp: (JSC::gregorianDateTimeToMS): (JSC::msToGregorianDateTime): Source/WebCore: Use the full year instead of the offset from year 1900 for the year member variable of GregorianDateTime. * bridge/qt/qt_runtime.cpp: (JSC::Bindings::convertValueToQVariant): (JSC::Bindings::convertQVariantToValue): * bridge/qt/qt_runtime_qt4.cpp: (JSC::Bindings::convertValueToQVariant): (JSC::Bindings::convertQVariantToValue): Source/WTF: Use the full year instead of the offset from year 1900 for the year member variable of GregorianDateTime. * wtf/GregorianDateTime.h: (WTF::GregorianDateTime::operator tm): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
683889fe