- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 407
 
Open
Description
I'm trying to render in Spanish, and am not sure how to configure timeago.
import { register, format, render, cancel } from 'timeago.js';
import {esLocal} from 'timeago.js/lib/lang/es';
register('es', esLocal);
                    const nodes = document.querySelectorAll('.timeago');
                    // use render method to render nodes in real time
                    render(nodes, 'es');I imagine I'm not registering it correctly, but I can't find the documentation on how to do that. Thanks.
Metadata
Metadata
Assignees
Labels
No labels