Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

abp.timing.convertToUserTimezone is defined twice #3155


User avatar
0
bilalhaidar created

Hi, The function "abp.timing.convertToUserTimezone" is defined twice:

  • In abp.moment.js
  • In abp.js

Why is it defined twice, and which one is active and why?

Thanks


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    The one contains pure js implementation and other one uses momentjs for same purpose. Since abp.moment.js is added aftaer abp.js, momentjs version is used. We did it in this way for thinking a possible tool like momentjs will come out in the future but I think it is not likely at the moment :).

  • User Avatar
    0
    bilalhaidar created

    Thanks :-)