1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Log screen in RN app

This commit is contained in:
Laurent Cozic
2017-07-07 18:19:24 +01:00
parent 216a6780cb
commit e0664167eb
6 changed files with 142 additions and 33 deletions

View File

@ -18,6 +18,10 @@ let time = {
return moment.unix(ms / 1000).utc().format('YYYY-MM-DDTHH:mm:ss.SSS') + 'Z';
},
unixMsToIsoSec(ms) {
return moment.unix(ms / 1000).utc().format('YYYY-MM-DDTHH:mm:ss') + 'Z';
},
msleep(ms) {
return new Promise((resolve, reject) => {
setTimeout(() => {