ID: 29150 Updated by: [EMAIL PROTECTED] Reported By: ataols at latnet dot lv -Status: Open +Status: Assigned Bug Type: Feature/Change Request Operating System: Gentoo Linux PHP Version: 4.3.7 -Assigned To: +Assigned To: derick New Comment:
Assigning to myself, i will have a look at this for my new datetime stuff. Previous Comments: ------------------------------------------------------------------------ [2004-07-14 16:11:33] ataols at latnet dot lv 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. ------------------------------------------------------------------------ [2004-07-14 16:11:27] ataols at latnet dot lv 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. ------------------------------------------------------------------------ [2004-07-14 16:02:01] [EMAIL PROTECTED] 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