[Issue] Default date format

Using them, Making them , Finding them

[Issue] Default date format

Postby richardglobal » Wed Apr 16, 2008 7:09 pm

Is it possible to set a user-defined date format in write? probe1 asked a similar thing last November and I've tried the things suggested. The DateTime2 system was cumbersome and I still couldn't get it to affect the normal Insert - Fields - Date entry. The autotext solution worked instead of the normal entry but I may forget the name and to press f3. I never thought I'd say this but Word does it well! Any ideas? Many thanks for any help.
Last edited by Hagar Delest on Tue Jun 10, 2008 2:44 pm, edited 2 times in total.
Reason: tagged the thread as issue.
richardglobal
 
Posts: 8
Joined: Wed Apr 16, 2008 6:57 pm

Re: Default date format

Postby foxcole » Wed Apr 16, 2008 8:06 pm

richardglobal wrote:Is it possible to set a user-defined date format in write? probe1 asked a similar thing last November and I've tried the things suggested. The DateTime2 system was cumbersome and I still couldn't get it to affect the normal Insert - Fields - Date entry. The autotext solution worked instead of the normal entry but I may forget the name and to press f3. I never thought I'd say this but Word does it well! Any ideas? Many thanks for any help.

Please include a link to the thread you're referring to, so others can more quickly see exactly what you read and tried.
Cheers!
---Fox

OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
User avatar
foxcole
Volunteer
 
Posts: 1507
Joined: Mon Oct 08, 2007 1:31 am
Location: Minneapolis, Minnesota

Re: Default date format

Postby acknak » Wed Apr 16, 2008 8:09 pm

Nothing has changed as far as I know.

This would be such a welcome enhancement; almost everyone needs it and, as you say, Writer does not do what most people need. Why it wasn't addressed long ago I can't begin to guess, but it's long overdue now.

Have you located and voted for the issue? If not, that is the best way to communicate a need to the developers.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Default date format

Postby richardglobal » Thu Apr 17, 2008 10:30 am

Thanks, acknak, I thought it might be so. I'm new to OO - what's this locate the issue and vote for it thing? How do I do it?

The thread I was following starts at: viewtopic.php?f=7&t=217&p=943&hilit=date+format#p895

Thanks for your help

Richard
richardglobal
 
Posts: 8
Joined: Wed Apr 16, 2008 6:57 pm

Re: Default date format

Postby Hagar Delest » Thu Apr 17, 2008 10:54 am

See here: [Tutorial] Reporting bugs.

A quick search with the keywords 'date format' (for Writer) will lead to these results.
You should subscribe and vote for that one (up to 2 votes per issue) : Issue 30216 - Ability to set the default date format.

I tag the thread as Issue.
AOO 4.1.5 on Xubuntu 18.04 and on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28211
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Issue] Default date format

Postby richardglobal » Thu Apr 17, 2008 5:36 pm

Thanks for that. I followed the link and tried to vote but it said I wasn't logged in when, of course, I was. When I tried to log in from the issue page, it didn't accept it. I give up!
richardglobal
 
Posts: 8
Joined: Wed Apr 16, 2008 6:57 pm

Re: [Issue] Default date format

Postby foxcole » Thu Apr 17, 2008 5:50 pm

richardglobal wrote:Thanks for that. I followed the link and tried to vote but it said I wasn't logged in when, of course, I was. When I tried to log in from the issue page, it didn't accept it. I give up!

The issue tracker is a separate site, unrelated to this forum. You'll need to register there and log in separately.
Cheers!
---Fox

OOo 3.2.0 Portable, Windows 7 Home Premium 64-bit
User avatar
foxcole
Volunteer
 
Posts: 1507
Joined: Mon Oct 08, 2007 1:31 am
Location: Minneapolis, Minnesota

Re: [Issue] Default date format

Postby kbellis » Tue Oct 29, 2013 1:28 pm

I'm searching for the answer and happen onto this thread... and wonder:

Has anything happened in the 5.5 years since the original question was posted?
AOO415 • Windows 10 Pro, 64-bit
User avatar
kbellis
 
Posts: 33
Joined: Sat May 28, 2011 6:25 pm
Location: Ellsworth, ME

Re: [Issue] Default date format

Postby Villeroy » Tue Oct 29, 2013 1:40 pm

What should have happened? Where are the issue numbers?
Why using a text processor if you can not handle templates, styles, fields nor auto-text?
The autotext solution worked instead of the normal entry but I may forget the name and to press f3. I never thought I'd say this but Word does it well!

So be it. Please use the software that is dumbed down to your personal skill set.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 16.04, OpenOffice 4.x & LibreOffice 5.x
User avatar
Villeroy
Volunteer
 
Posts: 25710
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Issue] Default date format

Postby kbellis » Tue Oct 29, 2013 1:54 pm

Do you mean like this?
AOO415 • Windows 10 Pro, 64-bit
User avatar
kbellis
 
Posts: 33
Joined: Sat May 28, 2011 6:25 pm
Location: Ellsworth, ME

Re: [Issue] Default date format

Postby acknak » Tue Oct 29, 2013 2:34 pm

Issue 30216: Ability to set the default date format

The issue is old and has a good number of votes already; you can register there and add your vote (up to two) or comment if you like, but I'd say the need is pretty clear already.

It's such a common operation, I don't know why there isn't a global shortcut for entering the current date, or date and time, in whatever format you like.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Issue] Default date format

Postby kbellis » Tue Oct 29, 2013 3:03 pm

Thanks acknak - I had seen that earlier (above)... guess it's a citizen's duty to vote ;) ... DONE!

I thought that maybe I could have recorded a macro to get the formatting tamed; the insertion of the date field recorded without issue but the formatting part was what didn't seem to want to be recorded.
AOO415 • Windows 10 Pro, 64-bit
User avatar
kbellis
 
Posts: 33
Joined: Sat May 28, 2011 6:25 pm
Location: Ellsworth, ME

Re: [Issue] Default date format

Postby ca parker » Fri Feb 16, 2018 1:46 pm

I have managed to insert a date field into a template which returns today's date as 16 February 2018 (or whatever the date is when I create a letter from the template) but I'd prefer to have it ordinalised ie 16th February 2018. I see the code for 16 February 2016 is DD MMMM YYYY and that there is an option for 4th Quarter, the code for which is QQYY. So I tried to insert DDD MMMM YYYY but couldn't!
How would you suggest I might ordinalise the date please?
Open Office Writer 4.1.5 on Windows 10
ca parker
 
Posts: 1
Joined: Fri Feb 16, 2018 1:25 pm

Re: [Issue] Default date format

Postby John_Ha » Fri Feb 16, 2018 7:37 pm

Welcome to the forum.

You cannot do it automatically. Create one date format with DD and another with MMM YYYY. Insert the first, add st, nd, th (as superscript if required), insert the second. Alternatively you could convert the field to text and edit it. Chapter 14 in the manual says:

Converting fields into text

Writer does not provide any easy way to convert field contents into text. To do this, you need to copy the field contents and paste them back as unformatted text. This is not a very good solution if you have hundreds of fields that you want to change, but you could use a macro to automate the process.


So, record a macro to delete the inserted date field and paste it back as plain text. Now have the same (or second) macro process the date and add the st, nd or th as required. See [Tutorial] How to record a macro (and Regular Expressions)

As a new poster you will find much useful information in the Writer FAQ, the Writer Tutorials, the up to date Writer guide and the Writer Manual. May I suggest you bookmark the pages.

Press F1 to access the Help screen and search for your problem

The chapter headings in the manual are:

1 - Introducing Writer
2 - Setting up Writer
3 - Working with Text
4 - Formatting Pages
5 - Printing, Exporting, Faxing and E-Mailing
6 - Introduction to Styles
7 - Working with Styles
8 - Working with Graphics
9 - Working with Tables
10 - Working with Templates
11 - Using Mail Merge
12 - Tables of Contents, Indexes and Bibliographies
13 - Working with Master Documents
14 - Working with Fields
15 - Using Forms in Writer
16 - Customizing Writer – Keyboard shortcuts.

When a pop-up window opens, click the Help button for extensive help on that function - it is often more comprehensive than the manual.
AOO 4.1.5, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 5689
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Issue] Default date format

Postby lmstearn » Mon Aug 13, 2018 9:16 am

Might be a bit off kilter on the OP, sorry. It's more related to setting one of the available formats in the following list:
Date.JPG

The default preference is always 0- and the issue is this can never be changed as a global default? The current fare is to Insert Field, then select it and then click Edit then Fields.
Perhaps something for Tools/Options/OpenOffice Writer where OO offers a numerical indices associated with each of the formats. All done under the hood where a different range of indices is required for each locale.
Thanks.
OpenOffice 4.13 on Windows 10!
User avatar
lmstearn
 
Posts: 18
Joined: Sun Feb 28, 2016 2:45 pm
Location: Australia


Return to Templates

Who is online

Users browsing this forum: No registered users and 2 guests