Skip to content

Commit 9077916

Browse files
committed
Adds build files
1 parent 178c5ca commit 9077916

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

public/cui.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39614,19 +39614,26 @@ CUI.DateTime = (function(superClass) {
3961439614
return str;
3961539615
};
3961639616

39617-
DateTime.formatWithInputTypes = function(datestr, output_types, output_format) {
39618-
var dt, mom;
39617+
DateTime.formatWithInputTypes = function(datestr, output_types, output_format, locale) {
39618+
var dt, mom, opts;
39619+
if (locale == null) {
39620+
locale = null;
39621+
}
3961939622
if (!datestr) {
3962039623
return null;
3962139624
}
39622-
dt = new CUI.DateTime({
39625+
opts = {
3962339626
input_types: output_types
39624-
});
39627+
};
39628+
if (locale) {
39629+
opts.locale = locale;
39630+
}
39631+
dt = new CUI.DateTime(opts);
3962539632
mom = dt.parseValue(datestr);
3962639633
if (!mom.isValid()) {
3962739634
return null;
3962839635
}
39629-
return dt.format(mom, output_format);
39636+
return dt.format(mom, output_format, null, false);
3963039637
};
3963139638

3963239639
DateTime.display = function(datestr_or_moment, opts) {

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)