How to change date format in "Recent Entries" plug

Creating and modifying plugins.
Post Reply
derlinzer
Regular
Posts: 24
Joined: Mon Sep 03, 2007 3:12 pm
Location: Linz, Austria
Contact:

How to change date format in "Recent Entries" plug

Post by derlinzer »

I run a blog in German and would like to use the "Recent Entries" plugin in one of my sidebars.

The default date formatting of the plugin is

Code: Select all

%A, %B %e %Y
which results in eg. "Montag, September 3 2007".

However, i want the date to be displayed as "Montag, 3. September 2007" to fit the date formatting of the rest of my blog, so i would use the following formatting:

Code: Select all

%A, %e. %B %Y
But when i change all instances of the date formatting in the plugin file, nothing in the sidebar changes.

Any idea, if i miss something and what that is?
Giving S9y a try...
Image
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

You don't have to patch the plugin file! :-)

The plugin has a configuration for the date format.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
derlinzer
Regular
Posts: 24
Joined: Mon Sep 03, 2007 3:12 pm
Location: Linz, Austria
Contact:

Post by derlinzer »

Thank you for pointing me to the plugin's options. It seems, i just didn't notice them.

You mentioned 'patching' and that leads to another (perhaps new topic?) question: If i patch/update the locale (German) of a plugin file, because of missing strings or typos how do i proceed to make it available to others? In addition, where in the locale do i mention that i patched it and when that happened?
Giving S9y a try...
Image
blog.brockha.us
Regular
Posts: 695
Joined: Tue Jul 03, 2007 3:34 am
Location: Berlin, Germany
Contact:

Post by blog.brockha.us »

Well.. Put it into the board, mail it to Garvin (or to me) and we will gladly add it to the CVS. :-)

Most language fles have a header comment pointing to the translator. You could add your name there, if you like.
- Grischa Brockhaus - http://blog.brockha.us
- Want to make me happy? http://wishes.brockha.us/
Post Reply