mowolf / ChatAnalyzer

Java script webapp that analyzes your WhatsApp Chat history locally on your machine.
https://chatanalyzer.moritzwolf.com
Other
208 stars 41 forks source link

Fix Time data [Data gets not shown on some browsers] #9

Closed mowolf closed 6 years ago

mowolf commented 6 years ago

https://user-images.githubusercontent.com/32100482/39435424-aca07a34-4c9b-11e8-898c-c35ad5b5a1d3.jpg https://puu.sh/AdoYo/35abe34324.png

Format: 26/04/18 23:57 - NAME (Day/Month/Year Hour:Minute)


http://momentjs.com/guides/#/warnings/js-date/

moment.js:293 Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 1 Feb 01, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (https://chatanalyzer.moritzwolf.com/js/moment.js:320:98)
    at configFromString (https://chatanalyzer.moritzwolf.com/js/moment.js:2368:15)
    at configFromInput (https://chatanalyzer.moritzwolf.com/js/moment.js:2594:13)
    at prepareConfig (https://chatanalyzer.moritzwolf.com/js/moment.js:2577:13)
    at createFromConfig (https://chatanalyzer.moritzwolf.com/js/moment.js:2544:44)
    at createLocalOrUTC (https://chatanalyzer.moritzwolf.com/js/moment.js:2631:16)
    at createLocal (https://chatanalyzer.moritzwolf.com/js/moment.js:2635:16)
    at hooks (https://chatanalyzer.moritzwolf.com/js/moment.js:12:29)
    at f (https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js:10:152948)
    at g (https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js:10:153070)
mowolf commented 6 years ago

fixed