24 hour clock

Discuss the spreadsheet application
Post Reply
razorboy
Posts: 4
Joined: Fri Sep 09, 2011 3:09 pm

24 hour clock

Post by razorboy »

I want to the 12 hour clock [8:00 PM] but when I change the format to 12 hours, it reverts back to the 24 hour clock when I make the next entry, both in Calc and in Writer tables. How do I get the default to stick?
Thank you.
OpenOffice 3.3.0 on Windows 7
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: 24 hour clock

Post by acknak »

Sorry, there's no way to change the default format for the various data types. Calc will always use its internal defaults unless you specifically set some particular format on the cell.

That said, for me, Calc defaults to showing times as 12-hour (1:00 PM instead of 13:00), so maybe I'm not understanding your situation correctly.
AOO4/LO5 • Linux • Fedora 23
User avatar
peterroots
Volunteer
Posts: 299
Joined: Mon Mar 03, 2008 6:33 pm
Location: UK

Re: 24 hour clock

Post by peterroots »

in calc, if you format a column as HH:MM AM/PM, from in the time formats, then any time values you enter come out as 12 hour time. so if you enter 15:15 it shows as 3:15 PM
You can do the same in writer if you first go to tools>options>LibreOffice Writer>Table and select number recognition and number format recognition. Now if you select all the cells in a column and format them as 12 hour time it all works
(at least it does for me, so long as you don't leave any blank lines between entries in the writer table)
LibreOffice 24.2.7.2 Kubuntu 24.04
Post Reply