UNPKG

881 BSource Map (JSON)View Raw
1{"version":3,"file":"from-utc.pipe.js","sourceRoot":"","sources":["from-utc.pipe.ts"],"names":[],"mappings":";AAAA,6DAA6D;;;;;;;;AAE7D,sCAAkD;AAClD,+BAAiC;AAGjC;IAAA;IAIA,CAAC;IAHC,+BAAS,GAAT,UAAU,KAAU;QAAE,cAAiB;aAAjB,UAAiB,EAAjB,qBAAiB,EAAjB,IAAiB;YAAjB,6BAAiB;;QACrC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;IAHU,WAAW;QADvB,WAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;OACf,WAAW,CAIvB;IAAD,kBAAC;CAAA,AAJD,IAIC;AAJY,kCAAW","sourcesContent":["/* angular2-moment (c) 2015, 2016 Uri Shaked / MIT Licence */\r\n\r\nimport {Pipe, PipeTransform} from '@angular/core';\r\nimport * as moment from 'moment';\r\n\r\n@Pipe({ name: 'amFromUtc' })\r\nexport class FromUtcPipe implements PipeTransform {\r\n transform(value: any, ...args: string[]): any {\r\n return moment.utc(value);\r\n }\r\n}\r\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
\No newline at end of file