Jump to content

About [[Vicuna:File-date/en]]

The documentation says about this message:

Used as a label.
Followed by a date (yyyy-MM-dd) or a timestamp (yyyy-MM-dd HH:mm) (depends on the settings).

That means, we need two different labels depening on the settings, since we cannot express "a date" and "a date follwed by a time" in one label string.

Btw. if indeed the date and time formats are the ones given in the message documentation, I generally recommend to preferrably use localized ones instead.

Purodha Blissenbach (talk)10:35, 25 April 2013
  • File-date (“Date”)

This message is used as a label for the "tDate" input box. Source code:

SimpleDateFormat sdf;
if(Main.settings.readExifHour) sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
else sdf = new SimpleDateFormat("yyyy-MM-dd");
tDate.setText(sdf.format(date));

"A date" is translated in Japanese as "日付", and "a date followed by a time" is translated as "日時".

See also:

Shirayuki (talk)11:34, 25 April 2013