ios端时间格式错误问题
This commit is contained in:
parent
6501284bbc
commit
d035361718
@ -26,8 +26,8 @@ namespace ChartAndGraph
|
||||
public static string DateToTimeString(DateTime dateTime)
|
||||
{
|
||||
Debug.Log("暫時");
|
||||
//return dateTime.ToString(@"HH\'mm\'\'");
|
||||
return dateTime.ToString("t");
|
||||
return dateTime.ToString(@"HH:mm");
|
||||
//return dateTime.ToString("t");
|
||||
}
|
||||
|
||||
public static string DateToDateString(DateTime dateTime)
|
||||
|
||||
@ -59,7 +59,7 @@ public class WeChatController
|
||||
// 第一个参数: MainActivity中的方法名
|
||||
// 第二、三个参数: 分别是SendMessageToUnity需要接收的第一和第二个参数,对比上面Java的代码
|
||||
mainActivityClass.CallStatic("InitWeChat", Application.identifier, _APP_ID);
|
||||
#elif UNITY_IOS
|
||||
#elif UNITY_IOS && !UNITY_EDITOR
|
||||
RegisterApp(_APP_ID);
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ PlayerSettings:
|
||||
cursorHotspot: {x: 0, y: 0}
|
||||
m_SplashScreenBackgroundColor: {r: 0.20784314, g: 0.20784314, b: 0.2627451, a: 1}
|
||||
m_ShowUnitySplashScreen: 1
|
||||
m_ShowUnitySplashLogo: 0
|
||||
m_ShowUnitySplashLogo: 1
|
||||
m_SplashScreenOverlayOpacity: 1
|
||||
m_SplashScreenAnimation: 1
|
||||
m_SplashScreenLogoStyle: 1
|
||||
@ -78,7 +78,7 @@ PlayerSettings:
|
||||
macRetinaSupport: 1
|
||||
runInBackground: 1
|
||||
captureSingleScreen: 0
|
||||
muteOtherAudioSources: 1
|
||||
muteOtherAudioSources: 0
|
||||
Prepare IOS For Recording: 0
|
||||
Force IOS Speakers When Recording: 0
|
||||
deferSystemGesturesMode: 0
|
||||
@ -179,7 +179,7 @@ PlayerSettings:
|
||||
applicationIdentifier:
|
||||
Android: com.ZhiXingPai.PowerFunUnity
|
||||
buildNumber:
|
||||
iPhone: 2.0.1.0
|
||||
iPhone: 2.0.1.12
|
||||
AndroidBundleVersionCode: 1
|
||||
AndroidMinSdkVersion: 24
|
||||
AndroidTargetSdkVersion: 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user