Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-06 11:37:10

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Adding %i stops the posted and expires tags from outputting

This tag outputs as excepted….

<txp:posted format="%Y%m%dT%H" />

But if I add %i nothing is output.

<txp:posted format="%Y%m%dT%H%i" />

Diagnostic info

Textpattern version: 4.0.8 (r3085)
Last Update: 2009-01-23 21:26:16/2009-01-23 21:11:45
Document root: C:/wamp/www/kmc.new (C:\wamp\www\kmc.new)
$path_to_site: C:\wamp\www\kmc.new
Textpattern path: C:\wamp\www\kmc.new\textpattern
Permanent link mode: title_only
upload_tmp_dir: c:/wamp/tmp
Temporary directory path: C:/wamp/www/kmc.new/textpattern/tmp
Site URL: kmc.new
PHP version: 5.2.5
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server Local Time: 2009-05-06 12:39:59
MySQL: 5.0.51a-community-nt
Locale: en_GB.UTF-8
Server: Apache/2.2.8 (Win32) PHP/5.2.5
Apache version: Apache/2.2.8 (Win32) PHP/5.2.5
PHP Server API: apache2handler
RFC 2616 headers: 
Server OS: Windows NT 6.0
Active plugins: chh_if_data-0.10, rvm_privileged-0.3, smd_calendar-0.42a, mg_setheader-0.1, yab_shop_core-0.7.0, yab_shop_config-0.7.0, yab_shop_3rd_party-0.7.0, rah_sitemap-0.4, rvm_css-0.4, hak_tinymce-0.7.4, stm_article_order-0.2, adi_variables-0.1, ebl-image-edit-2.0

Last edited by FireFusion (2009-05-06 11:40:34)

Offline

#2 2009-05-06 12:44:43

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Adding %i stops the posted and expires tags from outputting

FireFusion wrote:

But if I add %i nothing is output.

Well yeah…

  1. First, %i doesn’t exists in strftime(). You are prolly looking for %M.
  2. Second, note that you are on Windows. (aka on OS that doesn’t support all strftime specifiers).

Last edited by Gocom (2009-05-06 12:55:11)

Offline

Board footer

Powered by FluxBB