@finema/finework-layer 0.2.42 → 0.2.43

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.43](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.42...0.2.43) (2025-10-31)
4
+
5
+ ### Bug Fixes
6
+
7
+ * change for date_time ([1b2d5fc](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/1b2d5fc3130904684fd209e7242399bef423ef67))
8
+ * info display date and date_time ([33fad4f](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/33fad4f2f032d5ad7e80ddd7032b8c27d13c0e2c))
9
+
3
10
  ## [0.2.42](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.41...0.2.42) (2025-10-31)
4
11
 
5
12
  ### Bug Fixes
package/app/app.config.ts CHANGED
@@ -4,7 +4,7 @@ export default defineAppConfig({
4
4
  is_thai_month: false,
5
5
  date_format: 'dd MMM yyyy',
6
6
  month_format: 'MMM yyyy',
7
- date_time_format: 'dd/MM/yyyy HH:mm น.',
7
+ date_time_format: 'dd/MM/yyyy HH:mm',
8
8
  color: '#335AFF',
9
9
  limit_per_page: 10,
10
10
  locale: 'en',
@@ -154,24 +154,13 @@ const toggleExpanded = (label: string): void => {
154
154
  const getValue = (item: any): string => {
155
155
  if (item.type === TYPE_INFO_ITEM.DATE) {
156
156
  return item.value
157
- ? new Date(item.value).toLocaleDateString('en', {
158
- year: 'numeric',
159
- month: 'long',
160
- day: 'numeric',
161
- })
157
+ ? TimeHelper.displayDate(item.value) ?? '-'
162
158
  : '-'
163
159
  }
164
160
 
165
161
  if (item.type === TYPE_INFO_ITEM.DATE_TIME) {
166
162
  return item.value
167
- ? new Date(item.value).toLocaleString('en', {
168
- year: 'numeric',
169
- month: 'long',
170
- day: 'numeric',
171
- hour: '2-digit',
172
- minute: '2-digit',
173
- hour12: false,
174
- })
163
+ ? TimeHelper.displayDateTime(item.value) ?? '-'
175
164
  : '-'
176
165
  }
177
166
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.42",
4
+ "version": "0.2.43",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",