Permalink
Browse files

Update to capture timezone automatically.

  • Loading branch information...
1 parent 4caa4d4 commit be12676074144c72cfc7de38c9e07aadddad64cb Tim Windsor committed Jan 29, 2012
View
BIN Analytics/AnalyticsExample/bin/mypackage/MyApp$AnalyticsConfig.class
Binary file not shown.
View
BIN Analytics/AnalyticsExample/bin/mypackage/MyApp.class
Binary file not shown.
View
4 Analytics/AnalyticsExample/src/mypackage/MyApp.java
@@ -16,6 +16,8 @@
package mypackage;
+import java.util.TimeZone;
+
import net.rim.device.api.system.ApplicationDescriptor;
import net.rim.device.api.system.CodeModuleManager;
@@ -68,7 +70,7 @@ public String wt_dc_dcsid() {
}
public String wt_dc_timezone() {
- return "-5";
+ return Integer.toString(TimeZone.getDefault().getRawOffset());
}
public String wt_dc_app_category() {

0 comments on commit be12676

Please sign in to comment.