Skip to content

Commit d44ce5e

Browse files
committed
Updates build files
1 parent 58f2a99 commit d44ce5e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

public/cui.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39918,7 +39918,8 @@ CUI.DateTime = (function(superClass) {
3991839918

3991939919
DateTime.defaults = {
3992039920
button_tooltip: "Open calendar",
39921-
bc_appendix: ["B.C.", "BC", "V. CHR.", "VCHR", "VCHR."]
39921+
bc_appendix: ["B.C.", "BC", "V. CHR.", "VCHR", "VCHR."],
39922+
bc_appendix_output: "B.C."
3992239923
};
3992339924

3992439925
DateTime.prototype.initOpts = function() {
@@ -41390,11 +41391,11 @@ CUI.DateTime = (function(superClass) {
4139041391
DateTime.formatMomentWithBc = function(mom, format) {
4139141392
var bc, regexp, replace, v;
4139241393
if (mom.year() === 0) {
41393-
return "1 " + CUI.DateTime.defaults.bc_appendix[0];
41394+
return "1 " + CUI.DateTime.defaults.bc_appendix_output;
4139441395
}
4139541396
if (mom.bc) {
4139641397
bc = parseInt(mom.bc) + 1;
41397-
return bc + " " + CUI.DateTime.defaults.bc_appendix[0];
41398+
return bc + " " + CUI.DateTime.defaults.bc_appendix_output;
4139841399
}
4139941400
if (mom.year() > 0) {
4140041401
v = mom.format(format);
@@ -41403,7 +41404,7 @@ CUI.DateTime = (function(superClass) {
4140341404
return v.replace(regexp, "" + mom.year());
4140441405
}
4140541406
mom.subtract(1, "year");
41406-
v = mom.format(format) + " " + CUI.DateTime.defaults.bc_appendix[0];
41407+
v = mom.format(format) + " " + CUI.DateTime.defaults.bc_appendix_output;
4140741408
replace = "\\-0*" + (-1 * mom.year());
4140841409
regexp = new RegExp(replace);
4140941410
return v.replace(regexp, "" + (-1 * mom.year()));

public/cui.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)