Functions to format numbers, strings, dates, etc.
Name | Location | Description |
---|---|---|
format_rss_channel |
drupal/ |
Formats an RSS channel. |
format_rss_item |
drupal/ |
Formats a single RSS item. |
format_xml_elements |
drupal/ |
Formats XML elements. |
format_plural |
drupal/ |
Formats a string containing a count of items. |
parse_size |
drupal/ |
Parses a given byte count. |
format_size |
drupal/ |
Generates a string representation for the given byte count. |
format_interval |
drupal/ |
Formats a time interval with the requested granularity. |
format_date |
drupal/ |
Formats a date, using a date type or a custom date format string. |
date_iso8601 |
drupal/ |
Returns an ISO8601 formatted date based on the given date. |
_format_date_callback |
drupal/ |
Translates a formatted date string. |
format_username |
drupal/ |
Format a username. |