php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64964 persian calendar
Submitted: 2013-06-03 14:45 UTC Modified: 2013-06-09 22:25 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: manishy at leosys dot in Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 5.3.25 OS: windows,linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: manishy at leosys dot in
New email:
PHP Version: OS:

 

 [2013-06-03 14:45 UTC] manishy at leosys dot in
Description:
------------
---
From manual page: http://www.php.net/function.time#refsect1-function.time-notes
---
Hi,
I have to convert calendar module present in sugarcrm into persian date time.I use 
make_time() and mds_date() function to convert timestamp.It works in india,but it 
does'nt work on server situated at different place.Please help me regards to same.

Thanks,
Manish


Test script:
---------------
---
From manual page: http://www.php.net/function.time#refsect1-function.time-notes
---
Hi,
I have to convert calendar module present in sugarcrm into persian date time.I use make_time() and mds_date() function to convert timestamp.It works in india,but it does'nt work on server situated at different place.Please help me regards to same.

Thanks,
Manish



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-09 22:25 UTC] cataphract@php.net
-Status: Open +Status: Not a bug
 [2013-06-09 22:25 UTC] cataphract@php.net
This is not a support forum. In any case, note that intl on PHP 5.5 and PECL intl (version 3.0.0) both support the Persian calendar. However, this functionality is not documented.Take a look here (creating non gregorian calendar):

https://raw.github.com/php/php-src/master/ext/intl/tests/calendar_getType_basic.phpt

and the rest of the tests that start with calendar_ here:
https://github.com/php/php-src/tree/master/ext/intl/tests
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 02 10:01:28 2025 UTC