Bug 61575

Summary: Text Function returns wrong Day Of Week
Product: LibreOffice Reporter: Altamiro <ADinizML>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: major CC: miguelangelrv
Priority: medium    
Version: 4.0.1.1 rc   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: The affected cell and the next cells

Description Altamiro 2013-02-27 20:08:17 UTC
Created attachment 75656 [details]
The affected cell and the next cells

The Cell E264 has the value '01/14/2013' (Mon, 14/Jan/2013).
The formula "=TEXT(DAY(E264),"ddd")" returns "Sat" instead of "Mon"
Comment 1 Altamiro 2013-02-27 20:08:55 UTC
Enter your zip code here
Comment 2 m_a_riosv 2013-02-27 21:22:07 UTC
Hi ADinizML,

sorry but the mistake is to use the function DAY().
The formula must be:
=TEXT(E264,"ddd")
which works fine for me.

I think it is not a bug.
If you are not agree please reopen.