@freshworks/crayons
Version:
Crayons Web Components library
1 lines • 728 B
JavaScript
System.register(["./p-6d102d56.system.js","./p-7f24f54c.system.js"],(function(t){"use strict";var e,i;return{setters:[function(t){e=t.r},function(t){i=t.f}],execute:function(){var n=t("fw_format_date",function(){function t(t){e(this,t);this.date=new Date;this.hourFormat="auto"}t.prototype.render=function(){var t=new Date(this.date);var e=this.hourFormat==="auto"?undefined:this.hourFormat==="12";if(isNaN(t.getMilliseconds())){console.error("Invalid date "+this.date);return}{return i({date:t,locale:this.locale,options:{weekday:this.weekday,year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,timeZoneName:this.timeZoneName,timeZone:this.timeZone,hour12:e}})}};return t}())}}}));