#013300: Request support for Ordinals

Description:

Currently the datetime template operator does not support the %S flag for ordinals, which under PHP would normally provide the two letter suffixes immediately after the preceding number.

E.g. 1st, 2nd, 3rd, 4th and so on.

|datetime('custom','%F %j%S, %Y') currently does not work as %S is not supported.

I believe this is an important feature for date/time formatting and should be considered for inclusion in an upcoming release.


Steps to Reproduce:

|datetime('custom','%F %j%S, %Y') currently does not work as %S is not supported.


- Attachments

No attachments for this issue.


- Comments

Is the reason behind the omission of this option due to the internationalisation of Ordinals?

#257683 by Andrew Duck on August 3rd, 2008 [Permanent Link]

- History
Properties
Type Enhancement
Priority Medium
Component Template language
Affects 4.0.0 - 4.0.0release
4.0.1rc1
Fix Version -
Reporter Andrew Duck
Responsible -
Status 0 New
Resolution UNRESOLVED
Created July 4th, 2008
Updated August 3rd, 2008
Resolved -
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #019127
  DB Deadlocks on ezcontentobject_tree when updating subnode