This commit is contained in:
2019-05-27 23:16:41 +00:00
parent eaae264f83
commit a61f4a4979
2 changed files with 34 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ export default {
return v;
},
formats: {
decimalSeparator: ".",
DecimalSeparator: ".",
currencySymbol: "$",
shortDate: "YYYY-MM-DD",
shortTime: "hh:mm:ss A",

View File

@@ -30,6 +30,33 @@
<span class="body-2">{{ this.$gzlocale.timeZoneOffset }}</span>
</div>
<div>
<span class="ml-4 body-1">{{ this.$gzlocale.get("DecimalSeparator") }}:</span>
<span class="body-2">{{ this.$gzlocale.formats.DecimalSeparator }}</span>
</div>
<div>
<span class="ml-4 body-1">{{ this.$gzlocale.get("CurrencySymbol") }}:</span>
<span class="body-2">{{ this.$gzlocale.formats.currencySymbol }}</span>
</div>
<div>
<span class="ml-4 body-1">{{ this.$gzlocale.get("ShortDateFormat") }}:</span>
<span class="body-2">{{ this.$gzlocale.formats.shortDate }}</span>
</div>
<div>
<span class="ml-4 body-1">{{ this.$gzlocale.get("ShortTimeFormat") }}:</span>
<span class="body-2">{{ this.$gzlocale.formats.shortTime }}</span>
</div>
<div>
<span class="ml-4 body-1">{{ this.$gzlocale.get("ShortDateAndTimeFormat") }}:</span>
<span class="body-2">{{ this.$gzlocale.formats.shortDateAndTime }}</span>
</div>
<v-divider class="mt-4"></v-divider>
<v-subheader>{{ this.$gzlocale.get("Browser") }}</v-subheader>
<div v-for="(value, name) in clientInfo.browser" :key="name">
@@ -182,7 +209,12 @@ export default {
"Log",
"User",
"Browser",
"UserTimeZoneOffset"
"UserTimeZoneOffset",
"DecimalSeparator",
"CurrencySymbol",
"ShortDateFormat",
"ShortTimeFormat",
"ShortDateAndTimeFormat"
])
.then(function() {
vm.formState.ready = true;