2017 © Pedro Peláez
 

library wp-human-timing

Function to format a time string in Twitter-esque, human readable time.

image

cnp/wp-human-timing

Function to format a time string in Twitter-esque, human readable time.

  • Monday, November 23, 2015
  • by cnp
  • Repository
  • 3 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Human Timing

Function to format a time string in Twitter-esque, human readable time., (*1)

Usage

<?php cnp_human_timing( $string, '<h1 class="title">'. $string .'</h1>' ); ?>

Parameters

$time (required): Timestamp used to calculate elapsed time., (*2)

Return Values

(string) Returns human-readable time. (i.e.: 3 months)., (*3)

The Versions

23/11 2015

dev-master

9999999-dev https://github.com/Clark-Nikdel-Powell/Module-WP-Human-Timing

Function to format a time string in Twitter-esque, human readable time.

  Sources   Download

MIT

The Requires

  • php >=5.3.3