|
|
@@ -578,6 +578,11 @@ export default function DayNightCard(props: { isNight: boolean, count: number })
|
|
|
function detailModalContent() {
|
|
|
var split = new Date().toString().split(' ');
|
|
|
var timezone = split[split.length - 2];
|
|
|
+ split.map(item => {
|
|
|
+ if (item.indexOf('GMT') != -1) {
|
|
|
+ timezone = item;
|
|
|
+ }
|
|
|
+ })
|
|
|
if (!authInfo || !(authInfo as any).lat) {
|
|
|
return <View style={{ height: 100, display: 'flex', alignItems: 'center', justifyContent: 'center', width: rpxToPx(750) }}>
|
|
|
<Text>暂无位置信息</Text>
|