<% Site.shortdateformat %> |
macro rendering default shortdateformat |
Sourcecode in Site/macros.js:
1: function shortdateformat_macro(param) { 2: if (param.as == "chooser") 3: renderDateformatChooser("shortdateformat", this.getLocale(), 4: this.preferences.getProperty("shortdateformat")); 5: else if (param.as == "editor") 6: Html.input(this.preferences.createInputParam("shortdateformat", param)); 7: else 8: res.write(this.preferences.getProperty("shortdateformat")); 9: return; 10: } |