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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 09:01:30 2024 UTC