Skip to main content
Topic: [RC1] time format with "today" and "yesterday" (Read 5355 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: [RC1] time format with "today" and "yesterday"

Reply #30
I feel like I'm in a TARDIS!  :o

Yes, this will work too. But then the "Heute" and "Gestern" must be "heute" and "gestern", while in info center it must be "Heute" and "Gestern" because it starts a sentence there. OMG!!!


We could make it:

Code: [Select]
$txt['last_post_message'] = 'Latest: %2$s<br />by %1$s. %3$s';
Nah, looks better with:
Code: [Select]
$txt['last_post_message'] = 'Latest: %2$s<br />by %1$s - %3$s';
Look: http://support.elkarte-hilfe.de/index.php

Re: [RC1] time format with "today" and "yesterday"

Reply #31
The last from me in this case. I tried:

Code: [Select]
$txt['last_post_message'] = 'Letzter Beitrag: %2$s<br />%3$s von %1$s';

...and it looks perfect cause it's the same as in board index. First the date and time, and then the author. But why don't make the board index 100% the same as the forum index?

Re: [RC1] time format with "today" and "yesterday"

Reply #32
There are too many options!! LOL (Actually it's true: full time, today, today+yesterday, relative times and find a way to accommodate them all in all languages is messy...really.)

Anyway, your last is like:
Code: [Select]
$txt['last_post_message'] = 'Last post: {subject}<br />{time} by {author}';
right? (Sorry, bug German is not in the list of languages I know... :()

But why don't make the board index 100% the same as the forum index?
Because in the two there are different elements: in board index there is subject+time+author, while in message index there is only time+author and the subject is on the left... If I got it right.
Bugs creator.
Features destroyer.
Template killer.

Re: [RC1] time format with "today" and "yesterday"

Reply #33
Anyway, your last is like:
Code: [Select]
$txt['last_post_message'] = 'Last post: {subject}<br />{time} by {author}';
right? (Sorry, bug German is not in the list of languages I know... :()

Yes, that's how I use it now.

Because in the two there are different elements: in board index there is subject+time+author, while in message index there is only time+author and the subject is on the left... If I got it right.

With board index you mean the forum index and with message index you mean the board index (the list of threads inside a board)?  :o *lol*

On board index you have date+time+author, and an image for the last message. But why this image? Why not a text link to the last message in the thread like it is on the forum index? What's so special that you need this icon?  ;)

Re: [RC1] time format with "today" and "yesterday"

Reply #34
I usually refer to:
Board Index: http://www.elkarte.net/community/index.php
Message Index: http://www.elkarte.net/community/index.php?board=2.0
I borrow the terms from the source code, where the files and all the functions that handle these pages are called like that.
Yes, it's a bit odd, though I know them like that. :P

That said, you have "date+time+author" if you don't use relative times. ;)

On Board Index (see attach 276) you have:
* Line 1: {subject} by {author}
* Line 2: last post: {date/time}
On Message Index (see attach 277) you have:
* Line 1: {date/time}
* Line 2: by {author}
On Message Index the subject is already on the left, so repeat it would be.. a repetition.
The reason for the arrow is because of space mainly: a text link in the place where the arrow is would take too much space and potentially overlap with the numbers on the right (replies/views/likes).
Of course it could be set on multiple lines, though I see a lot of repeated stuff...
It could be either:
* Line 1: {subject} by {author}
* Line 2: last post: {date/time}
With the {subject} already present on the left, or:
* Line 1: <link>last post</link> by {author}
* Line 2: last post: {date/time}
with "last post" repeated twice in the two lines... :-\

Or you wanted to say something different that I missed?
Bugs creator.
Features destroyer.
Template killer.

Re: [RC1] time format with "today" and "yesterday"

Reply #35
I understand now, thank you very much.  :-[ :-X ;)

Okay, it works great for me the kind I have it now at http://support.elkarte-hilfe.de. Will you use this with the final version? Otherwise I need to explain this problem and a solution at my german support board (not forum  :P ).