View source for Talk:LocalTime

Jump to navigation Jump to search


Thread titleRepliesLast modified
Cologinan complications.119:11, 9 March 2011
See CLDR119:04, 9 March 2011

Cologinan complications.

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: Users.

You can view and copy the source of this page.


Return to Thread:Talk:LocalTime/Cologinan complications..

These expressions only accept numbers (optionally with decimals).

The places where this can be used are for user input (how long block lasts/when the block ends). Currently it is not flexible enough for more complex expressions like This page was last modified XXX ago. I would think that if we ever get into that far we have a magic word like {{RELATIME:$1|duration|context?}}.

For user input the level of fuzziness or rounding is not so important as for production. If you have ideas how to tackle these issues I'd glad to hear the.

So we have at least the following issues:

  1. combined magnitudes
  2. approximations
  3. tailoring of magnitudes per language (like, avoid decades, prefer years)
  4. choosing from multiple possible alternatives by providing some context
  5. some expressions like yesterday have additional semantics (very approximate, but day must be different)
    Realistically. if there is some kind of algorithm choosing which magnitude to take, it considers the absolute difference instead of the fact that century might just have changed.
Nike19:11, 9 March 2011

I believe, there is a great overlap between this approach to time expressinos and CLDR time and calendar data. I'll try to find a place where CLDR stuff is documented, but knowing that their publicly available documentations usually are between sparse and hardly organized, while parts are buried in the survey tool and thus semi-private, this may take time. --Purodha Blissenbach 16:15, 9 March 2011 (UTC)

16:15, 9 March 2011

Do you mean this:

Look even more restricted than my proposal.

Nike19:04, 9 March 2011