(longitude, latitude)
| 16 | } |
| 17 | |
| 18 | function formatLocation(longitude, latitude) { |
| 19 | if (typeof longitude === 'string' && typeof latitude === 'string') { |
| 20 | longitude = parseFloat(longitude) |
| 21 | latitude = parseFloat(latitude) |
| 22 | } |
| 23 | |
| 24 | longitude = longitude.toFixed(2) |
| 25 | latitude = latitude.toFixed(2) |
| 26 | |
| 27 | return { |
| 28 | longitude: longitude.toString().split('.'), |
| 29 | latitude: latitude.toString().split('.') |
| 30 | } |
| 31 | } |
| 32 | var dateUtils = { |
| 33 | UNITS: { |
| 34 | '年': 31557600000, |
nothing calls this directly
no outgoing calls
no test coverage detected