随手笔记

158 阅读1分钟

1,new Date('2020-10-08')在不同的时区内会返回不同值的问题,有些时区会返回2020-10-07,在这种情况下只要这样写就可以了 new Date('2020-10-08 00:00:00') 

2,keystore 文件 生成命令 keytool -genkey -alias 别名 -keyalg RSA -validity 有效天数 -keystore android.keystore(文件名)

3, git本地项目到创库

  1, git init

        2,   git add .

3,   git commit -m ''init"

        4, git remote add origin 地址

5, git push -u origin master