Skip to content

GTT module could not recognized RFC2822 or ISO format #34

@max0l

Description

@max0l

I have built the project from source and followed the documentation. When I try to get the times it is loading everything but, I'll get this error:

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. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 2025-07-16 14:09:31 UTC, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (/drives/f/git/gitlab-time-tracker/node_modules/moment/moment.js:324:25)
    at configFromString (/drives/f/git/gitlab-time-tracker/node_modules/moment/moment.js:2613:19)
    at configFromInput (/drives/f/git/gitlab-time-tracker/node_modules/moment/moment.js:3056:13)
    at prepareConfig (/drives/f/git/gitlab-time-tracker/node_modules/moment/moment.js:3039:13)
    at createFromConfig (/drives/f/git/gitlab-time-tracker/node_modules/moment/moment.js:3006:44)
    at createLocalOrUTC (/drives/f/git/gitlab-time-tracker/node_modules/moment/moment.js:3100:16)
    at createLocal (/drives/f/git/gitlab-time-tracker/node_modules/moment/moment.js:3104:16)
    at hooks (/drives/f/git/gitlab-time-tracker/node_modules/moment/moment.js:16:29)
    at file:///drives/f/git/gitlab-time-tracker/src/models/hasTimes.js:137:45

I still get some time measurements.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions