#29150 [Opn]: Roman number format for months
| From: | ataols at latnet dot lv | Date: | Wed, 14 Jul 2004 14:11:34 +0000 |
| Subject: | #29150 [Opn]: Roman number format for months | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62249@lists.php.net to get a copy of this message | ||
ID: 29150
User updated by: ataols at latnet dot lv
Reported By: ataols at latnet dot lv
Status: Open
Bug Type: Feature/Change Request
Operating System: Gentoo Linux
PHP Version: 4.3.7
New Comment:
It is good enough, but not for this case. It's not a problem to write a
conversion function, I can do (and I already did)it myself. But, for
example, if I need to store different time formats choosed by users,
the formats with Arabic months' numbers I can store just a parametter
for those functions, but for Roman monnt's numbers I need an additional
conversion function. I think, it is better to integrate such possibility
in "date", "strftime" and similar functions. It is the sense of these
functions to have an ability to output the date in any popular format,
and the months output with Roman numbers is popular enough to be
included.
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 16:02:01] eru@php.net
Isn't http://pear.php.net/package/Numbers_Roman good
enough for you?
Another argument would be, that strftime is modelled after the
c-function.
------------------------------------------------------------------------
[2004-07-14 15:55:09] ataols at latnet dot lv
Description:
------------
Why functions "date", "strftime" and similars does not support months
numbers output in Roman numbers? (For example, "VII" for July.) Many
nations use it as the one of or even the main month writing format, and
it would be just normal that you add such formatting possibility.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29150&edit=1