diff --git a/index.android.js b/index.android.js index 784e5fd..a1164c5 100644 --- a/index.android.js +++ b/index.android.js @@ -6,7 +6,8 @@ class Locale extends LocaleBaseClass { * Android can't pass Long's as ReactMethod arguments so send a string that is parsed */ static dateFormat(date : Date, dateStyle : string, timeStyle : string) { - return LocaleBaseClass.dateFormat(''+date.getTime(), dateStyle, timeStyle); + var dt = new Date(date); + return LocaleBaseClass.dateFormat(''+dt.getTime(), dateStyle, timeStyle); } }