php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #40636 http://us3.php.net/date problem
Submitted: 2007-02-26 06:48 UTC Modified: 2007-02-26 08:25 UTC
From: rhodes dot aaron at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: N/A
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: rhodes dot aaron at gmail dot com
New email:
PHP Version: OS:

 

 [2007-02-26 06:48 UTC] rhodes dot aaron at gmail dot com
Description:
------------
Documentation for date function is garbled and in another language.

URL: http://us3.php.net/date

Actual result:
--------------
date -- Formateaz� data/timpul local
Descriere
string date ( string format [, int timestamp])

Returneaz� un �ir formatat conform cu formatul transmis ca parametru al func�iei, utiliz�nd �ntregul timestamp sau timpul local dac� nu este utilizat parametrul timestamp.

    Not?: Perioada valid� a timestamp este cuprins�, de regul�, �ntre vineri, 13 Decembrie 1901 20:45:54 GMT �i mar�i, 19 ianuarie 2038 03:14:07 GMT. (Acestea sunt datele care corespund minimului, respectiv maximului unui �ntreg cu semn reprezentat pe 32 de bi�i.)

    Pentru a genera un timestamp dintr-un �ir reprezent�nd o dat�, pute�i utiliza func�ia strtotime(). De asemenea, unele sisteme de gestiune a bazelor de date au func�ii care pot converti formatul lor de dat� �n timestamps (cum ar fi func�ia MySQL UNIX_TIMESTAMP). 

Urm�toarele caractere sunt recunoscute �n �irul format:

    *

      a - "am" sau "pm" 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-26 07:49 UTC] tony2001@php.net
Choose "English" in the dropdown menu at the top of the page and click on the arrow at the right of it.
 [2007-02-26 07:57 UTC] rhodes dot aaron at gmail dot com
I do have English selected.
 [2007-02-26 08:08 UTC] philip@php.net
I cannot replicate, and it looks like Tony can't either. 

Something is odd here so try this: On the left sidebar, there are links. Click on the date function so that you'll be redirected to a full URL of the date function in the manual.  Please post that link here. If you could post a full screenshot somewhere that would be great too.
 [2007-02-26 08:14 UTC] rhodes dot aaron at gmail dot com
I checked and I get it on all functions.

Screenshot:
http://infinitysphere.no-ip.org:81/php.date.jpg
 [2007-02-26 08:23 UTC] philip@php.net
Thank you for taking the time to create this snap shot, it solves the problem. It appears your preference is "ro" instead of "en" so change it here:

  http://php.net/my.php

That page also mentions how this likely happened. 
 [2007-02-26 08:25 UTC] rhodes dot aaron at gmail dot com
Yes, thank you. That fixed it. Don't know how it got set to that. Probably from some link via a google search.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 21:01:31 2025 UTC