Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0
-
None
-
7fddd1c5696bb8043bc7df7df2ba233ce65c1254 97feace2aaaf08075c17ea175a5ed0c12aa40a0d aac2309ade1f4860cfcc55a4d724f16aaf86d661
Description
http://qt.gitorious.org/qt/qtdeclarative/blobs/stable/src/qml/qml/qqmllocale.cpp#line152 says that we've got several date/time functions that convert those objects to and from locale-dependent strings:
void QQmlDateExtension::registerExtension(QV8Engine *engine) { registerFunction(engine, dateToLocaleStringFunction, toLocaleString); registerFunction(engine, dateToLocaleTimeStringFunction, toLocaleTimeString); registerFunction(engine, dateToLocaleDateStringFunction, toLocaleDateString); registerFunction(engine, dateFromLocaleStringFunction, fromLocaleString); registerFunction(engine, dateFromLocaleTimeStringFunction, fromLocaleTimeString); registerFunction(engine, dateFromLocaleDateStringFunction, fromLocaleDateString); registerFunction(engine, dateTimeZoneUpdatedFunction, timeZoneUpdated); }
Attachments
Issue Links
- depends on
-
QTBUG-32295 property time: "Expected property type"
- Closed
-
QTBUG-32505 Locale enum requires QtQuick import
- Closed