Skip to content
Browse files

fixed an always true if-statement

replaced the part with the actual code from the tutorial source-files
  • Loading branch information...
1 parent 7b2017b commit 8ecaf6763dae658d15d35c710771297308041e6c @aparusel aparusel committed with thron7 Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 documentation/manual/source/pages/tutorials/tutorial-part-4-2.rst
View
2 documentation/manual/source/pages/tutorials/tutorial-part-4-2.rst
@@ -278,7 +278,7 @@ Now to the delegate, just replace the current delegate with this one:
controller.bindProperty("user.profile_image_url", "icon", null, item, id);
controller.bindProperty("created_at", "time", {
converter: function(data) {
- if (qx.core.Environment.get("engine.name")) {
+ if (qx.core.Environment.get("browser.name") == "ie") {
data = Date.parse(data.replace(/( \+)/, " UTC$1"));
}
return new Date(data);

0 comments on commit 8ecaf67

Please sign in to comment.
Something went wrong with that request. Please try again.