logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XML::Atom::Util - Utility functions

Name

       XML::Atom::Util - Utility functions

Synopsis

           use XML::Atom::Util qw( iso2dt );
           my $dt = iso2dt($entry->issued);

Usage

iso2dt($iso)
       Transforms the ISO-8601 date $iso into a DateTime object and returns the DateTime object.

   encode_xml($str)
       Encodes characters with special meaning in XML into entities and returns the encoded string.

See Also