keycloakify 7.11.8 → 7.11.9

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/README.md CHANGED
@@ -47,7 +47,7 @@
47
47
 
48
48
  ## Sponsor 👼
49
49
 
50
- We are exclusively sponsored by [Cloud IAM](https://www.cloud-iam.com), a French company offering Keycloak as a service.
50
+ We are exclusively sponsored by [Cloud IAM](https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github), a French company offering Keycloak as a service.
51
51
  Their dedicated support helps us continue the development and maintenance of this project.
52
52
 
53
53
  [Cloud IAM](https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github) provides the following services:
@@ -337,6 +337,17 @@
337
337
 
338
338
  </#if>
339
339
 
340
+ <#local isDate = "">
341
+ <#attempt>
342
+ <#local isDate = object?is_date_like>
343
+ <#recover>
344
+ <#return "ABORT: Can't test if it's a date">
345
+ </#attempt>
346
+
347
+ <#if isDate>
348
+ <#return '"' + object?datetime?iso_utc + '"'>
349
+ </#if>
350
+
340
351
  <#attempt>
341
352
  <#return '"' + object?js_string + '"'>;
342
353
  <#recover>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "7.11.8",
3
+ "version": "7.11.9",
4
4
  "description": "Create Keycloak themes using React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -337,6 +337,17 @@
337
337
 
338
338
  </#if>
339
339
 
340
+ <#local isDate = "">
341
+ <#attempt>
342
+ <#local isDate = object?is_date_like>
343
+ <#recover>
344
+ <#return "ABORT: Can't test if it's a date">
345
+ </#attempt>
346
+
347
+ <#if isDate>
348
+ <#return '"' + object?datetime?iso_utc + '"'>
349
+ </#if>
350
+
340
351
  <#attempt>
341
352
  <#return '"' + object?js_string + '"'>;
342
353
  <#recover>