Browse Source

移动端format

es6
imp 6 years ago
parent
commit
96419669a3
  1. 1
      Gruntfile.js
  2. 10
      dist/_fineui.min.js
  3. 8
      dist/bundle.min.js
  4. 67
      dist/fineui.js
  5. 10
      dist/fineui.min.js
  6. 65
      dist/utils.js
  7. 10
      dist/utils.min.js
  8. 66
      ui/js/date.i18n.js

1
Gruntfile.js

@ -168,6 +168,7 @@ module.exports = function (grunt) {
"src/core/inject.js",
"src/core/utils/*.js",
"ui/js/date.i18n.js",
"src/data/data.js",
"src/data/**/*.js"
],

10
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

67
dist/fineui.js vendored

@ -115102,4 +115102,69 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
// Create the default BI.history.
BI.history = new History;
}());BI.resourceURL = "file?path=/com/fr/web/ui/resource";
}());/**
* Created by astronaut007 on 2018/8/8
*/
// 牵扯到国际化这些常量在页面加载后再生效
// full day names
Date._DN = ["星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
"星期日"];
// short day names
Date._SDN = ["日",
"一",
"二",
"三",
"四",
"五",
"六",
"日"];
// Monday first, etc.
Date._FD = 1;
// full month namesdat
Date._MN = [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",];
// short month names
Date._SMN = [0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11];
Date._QN = ["", "第1季度",
"第2季度",
"第3季度",
"第4季度"];
/** Adds the number of days array to the Date object. */
Date._MD = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
// 实际上无论周几作为一周的第一天,周初周末都是在-6-0间做偏移,用一个数组就可以
Date._OFFSET = [0, -1, -2, -3, -4, -5, -6];BI.resourceURL = "file?path=/com/fr/web/ui/resource";

10
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

65
dist/utils.js vendored

@ -16766,6 +16766,71 @@ BI.Region.prototype = {
return pos;
}
};/**
* Created by astronaut007 on 2018/8/8
*/
// 牵扯到国际化这些常量在页面加载后再生效
// full day names
Date._DN = ["星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
"星期日"];
// short day names
Date._SDN = ["日",
"一",
"二",
"三",
"四",
"五",
"六",
"日"];
// Monday first, etc.
Date._FD = 1;
// full month namesdat
Date._MN = [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",];
// short month names
Date._SMN = [0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11];
Date._QN = ["", "第1季度",
"第2季度",
"第3季度",
"第4季度"];
/** Adds the number of days array to the Date object. */
Date._MD = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
// 实际上无论周几作为一周的第一天,周初周末都是在-6-0间做偏移,用一个数组就可以
Date._OFFSET = [0, -1, -2, -3, -4, -5, -6];/**
* 缓冲池
* @type {{Buffer: {}}}
*/

10
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

66
ui/js/date.i18n.js

@ -0,0 +1,66 @@
/**
* Created by astronaut007 on 2018/8/8
*/
// 牵扯到国际化这些常量在页面加载后再生效
// full day names
Date._DN = ["星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
"星期日"];
// short day names
Date._SDN = ["日",
"一",
"二",
"三",
"四",
"五",
"六",
"日"];
// Monday first, etc.
Date._FD = 1;
// full month namesdat
Date._MN = [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",];
// short month names
Date._SMN = [0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11];
Date._QN = ["", "第1季度",
"第2季度",
"第3季度",
"第4季度"];
/** Adds the number of days array to the Date object. */
Date._MD = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
// 实际上无论周几作为一周的第一天,周初周末都是在-6-0间做偏移,用一个数组就可以
Date._OFFSET = [0, -1, -2, -3, -4, -5, -6];
Loading…
Cancel
Save