Date Format

148 views
Skip to first unread message

Jeremy X

unread,
Jan 25, 2018, 2:56:15 PM1/25/18
to mementodatabase
I have defined a date field.
The date is displayed as "25. Januar 2018".
How can i achieve to get it displayed as "25.01.18" (short date format)?
As far as i know i need java script for that.
But i do not know how to handle it.

-Andreas

Bill Crews

unread,
Jan 25, 2018, 6:33:15 PM1/25/18
to Jeremy X, mementodatabase
On Jan 25, 2018 14:56, "'Jeremy X' via mementodatabase" <memento...@googlegroups.com> wrote:
I have defined a date field.
The date is displayed as "25. Januar 2018".
How can i achieve to get it displayed as "25.01.18" (short date format)?

When in the library edit screen, date fields have, among the advanced parameters, Date formats. Select the one you like the best.

As far as i know i need java script for that.

With JavaScript, you can display anything you like. If you don't like the choices under Date formats, you could keep that field and define another field as a JavaScript field referencing the date field. In that other field, press Add JavaScript libraries; only one will likely be listed: moment.min.js. Select it. Then, read the documentation page at momentjs.com (Home, Docs, Guides) to see how it works and how to display what you want.

Andreas Spelter

unread,
Jan 17, 2026, 11:58:27 AMJan 17
to mementodatabase
My Memento is using always and everywhere whatever I set as "long format". Whatever I set in "short format" is never used. 
This is true for both date and time. 
Where should I see "short"? 
I would like to use short in lists and long in forms. How? 


David Gilmore

unread,
Jan 18, 2026, 10:46:35 AMJan 18
to mementodatabase
We probably should find out what system they are using. Windows, Android, or iOS. It may differ between those systems.

Andreas Spelter

unread,
Jan 18, 2026, 11:09:32 AMJan 18
to mementodatabase
tested on my Android 12 Phone and Android 12 Tablet

David Gilmore

unread,
Jan 19, 2026, 10:55:14 AMJan 19
to mementodatabase
You might want to contact Memento staff directly with this problem, as they do not regularly read this forum. You can reach them through the Memento web site. This site is mainly a users site, read regularly by us other helpful users.

I have never been happy with the default way fields are displayed in list views. So I often create a couple of "hidden" fields that are used for my "Description" and "Status" list fields, that are displayed only in the list view. There are many advantages to doing it this way, as I can customize the fields the way I want them to be, including combining several fields into one description with editing and spacing like I want, or with customizing what elements are displayed for dates. I will populate those hidden fields in the "Before Create" and "Before Save" triggers ("Hidden" fields are not hidden when contained in a list view).

How to create "hidden" fields is easy to do. If this interests you, we can describe how to do that.

Andreas Spelter

unread,
Jan 20, 2026, 12:05:33 AMJan 20
to mementodatabase
good idea, thanks
Reply all
Reply to author
Forward
0 new messages