]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
SF Bug #489544: Change strftime %P to %p. (%P is a GNU extension to
authordairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Sat, 8 Dec 2001 16:30:44 +0000 (16:30 +0000)
committerdairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Sat, 8 Dec 2001 16:30:44 +0000 (16:30 +0000)
commit39078a8a1074c796b016228194ff5161d97d09b9
tree8acd8bc9fd8e72058002e544aff3bce3ffa4ba59
parente4722cf100a3ebbecbf6969ca039b939818a338e
SF Bug #489544: Change strftime %P to %p.  (%P is a GNU extension to
the POSIX strftime spec, and is not supported on all systems.)

  '%p' expands to 'AM' or 'PM'
  '%P', when supported, expands to 'am' or 'pm'

The lowercase version (%P) is much prettier to my eyes, but I guess,
in this case the cost of portability is ugliness.  (Is it worth some
hackage to restore the lower case am/pm?)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@743 96ab9672-09ca-45d6-a79d-3d69d39ca109
lib/plugin/RecentChanges.php