Commit e076b09
committed
Made TimeZone string generation locale-agnostic for Windows Phone and Unity.
Previously, TimeZone string generation that we sent along with
ParseInstallation was dependent upon the CurrentCulture of the device
being set to the english locale (as StandardName is localized, WHAT?!)
Our new, fancy TimeZone string is now generated agnostically of the
current device locale. There is potential for information about the
specific region of the time zone to be lost here, but most applications
should not require this.
This should fix #138.1 parent a60db2e commit e076b09
File tree
2 files changed
+12
-21
lines changed- Parse/Internal/PlatformHooks
- Phone
- Unity
2 files changed
+12
-21
lines changedLines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
164 | 159 | | |
165 | 160 | | |
166 | 161 | | |
| |||
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
100 | 96 | | |
101 | 97 | | |
102 | 98 | | |
| |||
0 commit comments