Making a custom date format persistent -- cell reverts to Automatic format?

MacOS13.5.2, Numbers13.1: I created a custom date format, applied it, works nicely; however, when I type new data into any of those cells, the cell reverts to AutomaticFormatting!

Is this a bug? or a feature?


How can I keep a cell's format persistent?

MacBook Air 13″, macOS 13.5

Posted on Sep 10, 2023 12:16 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 14, 2023 8:55 AM

jothomas wrote:

the Custom Format applies only to the output (display), not the input.


Yes, in Numbers, custom formats control the display not the input.


That is true also for input of Duration values.


I tend to use the unambiguous yyyy-mm-dd for display. Unfortunately I can't input that way.


A tip: Numbers will happily do date arithmetic on "dates" in Automatic or Text if they are in a format that it can recognize as dates. Military style confuses it.


You could consider providing feedback to Apple at File > Provide Numbers Feedback in your menu.


SG





Similar questions

7 replies
Question marked as Top-ranking reply

Sep 14, 2023 8:55 AM in response to jothomas

jothomas wrote:

the Custom Format applies only to the output (display), not the input.


Yes, in Numbers, custom formats control the display not the input.


That is true also for input of Duration values.


I tend to use the unambiguous yyyy-mm-dd for display. Unfortunately I can't input that way.


A tip: Numbers will happily do date arithmetic on "dates" in Automatic or Text if they are in a format that it can recognize as dates. Military style confuses it.


You could consider providing feedback to Apple at File > Provide Numbers Feedback in your menu.


SG





Sep 14, 2023 8:37 AM in response to Badunit

ah yes, but the system does not interpret the input using the custom format rules:

I set custom date format=5Jan14

(Note that when the file is Shared, I cannot edit Custom Formats! I had to unshare it first!)

The display works fine.

But evidently it only maintains that date format if I input new date values in a "standard" date format such as 1/5/14 .

If I actually type in "5Jan14" the system interprets that as Automatic.


Thus, better to specify that the Custom Format applies only to the output (display), not the input.

Unfortunate that there is not a standard military-style short date format such as dd-MMM-yy or ddMMMyy . The all-numeric formats are readily misinterpreted (mm/dd/yy or dd/mm/yy) or strange looking yyyy-mm-dd.

(Yes, I know the Swedes use yyyymmdd all the time. Difficult to change old 'merican habits.)

Sep 10, 2023 2:56 PM in response to jothomas

It does persist unless you

  • Type something that cannot be formatted with that format. An example would be typing a numeral into a cell formatted as date&time. But if you delete that and type a date into the cell, it will use the chosen format.
  • You use Clear All to clear the old data from the cell. This will clear the formatting as well.
  • I'm sure there are other things that might do it but, in general, the chosen format persists.


If it is not one of those first two things, tell us more. Give an example, step by step, where it loses the formatting.

Sep 15, 2023 9:19 AM in response to jothomas

They probably rearranged things in Ventura. I do not have it. I am suggesting changing one of those date formats in System Preferences to be exactly like the one you want to type into Numbers. The four I have available to choose from are short, medium, long, and full. I did it and it worked on my system. There was no typing involved (other than deleting a comma before the year), I dragged the pieces around and selected from the drop downs it presented me for each component of the date. But some other app may use that date format.


I'm not saying this is a great idea, not knowing what some other app might do with it. It is just an idea.

Sep 15, 2023 9:25 AM in response to jothomas

FWIW, in Ventura System Settings Language & Region > Date format I have mine set to yyyy-mm-dd.


In Numbers I can enter dates using that format and the format will be respected and Numbers will recognize it as a true Date & Time, right-aligned by default.


But if I then double-click to edit it, it becomes m/dd/yyyy as I'm editing. Even though I've set Date format to yyyy-mm-dd in System Settings apparently my Region setting (US) overrrides that when editing. When I'm done editing, Numbers again displays it as yyyy-mm-dd.


SG


Sep 15, 2023 8:13 AM in response to Badunit

hmm. I do not find SystemPreferences/Language&Region/Advanced

The Language&Region display seems to offer only 1 location to change the format: DateFormat, which itself only offers a list of 8 numeric dateformats with various sequences and punctuation.

I do not find any date format that includes alphabetic characters, or any way to add a custom format.

The dropdownlist of 8 formats remains consistent even when selecting different Region (though the default format changes appropriately).


Evidently this sort of custom format must be changed deeper within the OS -- which would, as you imply, likely cause other ripple effects.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Making a custom date format persistent -- cell reverts to Automatic format?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.