It is currently 22 April 2025, 15:39 Advanced search

moment duration

Domande e risposte su come utilizzare Instant Developer Cloud al meglio

moment duration

Postby gmassi » 18 October 2019, 14:25

Salve
Sto provando ad usare la funzione duration di moment, chiamandola app.locale.moment().duration().
Nel momento della digitazione del codice, dopo il moment, mi viene suggerito 'duration' con indicato il tipo 'function', ma eseguendo il codice inde mi risponde app.locale.moment(...).duration is not a function.
Idem con app.locale.moment.duration().
Ho sempre quest'errore a prescindere dal passare o no parametri a moment o duration.

Dove sbaglio?
Grazie in anticipo
User avatar
gmassi
 
Posts: 9
Joined: 17 October 2019, 15:32

Return to Tips & Tricks - Cloud

Who is online

Users browsing this forum: No registered users and 6 guests