You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "enapps-enorman (via GitHub)" <gi...@apache.org> on 2023/06/06 18:26:49 UTC

[GitHub] [sling-org-apache-sling-jcr-contentloader] enapps-enorman commented on pull request #24: JsonReader to recognize UTC dates

enapps-enorman commented on PR #24:
URL: https://github.com/apache/sling-org-apache-sling-jcr-contentloader/pull/24#issuecomment-1579256103

   Maybe we should just remove the regex and just see if a ISO8601 parsing of the string returns non-null.
   
   For, example in JsonReader#getType 
   ```
               if (ISO8601.parse((String)object) != null)
                   return PropertyType.DATE;
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org