小编Nar*_*ar 的帖子

Angular 6 应用程序在 safari 浏览器中不起作用

Angular 应用程序在 IE 和 chrome 中运行良好,但在 safari 中它甚至没有显示任何错误也无法正常工作并尝试使用 polyfill

在这里 polyfill.ts

/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es6/symbol';
 import 'core-js/es6/object';
 import 'core-js/es6/function';
 import 'core-js/es6/parse-int';
 import 'core-js/es6/parse-float';
 import 'core-js/es6/number';
 import 'core-js/es6/math';
 import 'core-js/es6/string';
 import 'core-js/es6/date';
 import 'core-js/es6/array';
 import 'core-js/es6/regexp';
 import 'core-js/es6/map';
  import 'core-js/es6/weak-map';
 import 'core-js/es6/set';
import 'core-js/client/shim';
import 'intl';
import 'intl/locale-data/jsonp/en';

/** IE10 and IE11 requires the following for NgClass support on SVG elements */
 import 'classlist.js';  // Run `npm install --save classlist.js`.

/** …
Run Code Online (Sandbox Code Playgroud)

safari mobile-safari polyfills progressive-web-apps angular6

6
推荐指数
1
解决办法
4843
查看次数


如何使用golang将UTC转换为印度当地时间

提到下面的代码

 loc, _ := time.LoadLocation("Asia/Kolkata")
        now := time.Now().In(loc)
        fmt.Println("Location : ", loc, " Time : ", now)
        visit.Time = now
Run Code Online (Sandbox Code Playgroud)

获取 UTC 时间,但我需要在我的数据存储中获取 IST

time datetime go

1
推荐指数
1
解决办法
3585
查看次数