@policystudio/policy-studio-ui-vue 1.1.37 → 1.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/css/psui_styles.css
CHANGED
|
@@ -4231,9 +4231,14 @@ video {
|
|
|
4231
4231
|
}
|
|
4232
4232
|
|
|
4233
4233
|
.psui-el-date-card-day {
|
|
4234
|
+
font-size: 18px;
|
|
4234
4235
|
font-weight: 700;
|
|
4235
4236
|
}
|
|
4236
4237
|
|
|
4238
|
+
.psui-el-date-card-year {
|
|
4239
|
+
font-size: 10px;
|
|
4240
|
+
}
|
|
4241
|
+
|
|
4237
4242
|
.psui-el-tag-scope {
|
|
4238
4243
|
display: flex;
|
|
4239
4244
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
<span class="psui-el-date-card-day">
|
|
7
7
|
{{getDayFromDate}}
|
|
8
8
|
</span>
|
|
9
|
+
<span class="psui-el-date-card-year">
|
|
10
|
+
{{getYearFromDate}}
|
|
11
|
+
</span>
|
|
9
12
|
</div>
|
|
10
13
|
</template>
|
|
11
14
|
|
|
@@ -24,6 +27,9 @@ export default {
|
|
|
24
27
|
},
|
|
25
28
|
getDayFromDate() {
|
|
26
29
|
return (new Date(this.date))?.toLocaleString('default', { day: '2-digit' })
|
|
30
|
+
},
|
|
31
|
+
getYearFromDate() {
|
|
32
|
+
return (new Date(this.date))?.toLocaleString('default', { year: 'numeric' })
|
|
27
33
|
}
|
|
28
34
|
}
|
|
29
35
|
}
|