= Description =

## Please read this page. Lines prefixed with ## such as this one are comments,
## you can remove them (except for those after the "Plan" section.)
## Please follow the instructions given in those comments and the text.
## After creating the bug page, please subscribe to it! We may have questions
## that only you can answer, and if you get email when your bug changes it'll
## be much faster to get it fixed since you can answer the questions!

When edit locking is used there are various messages to inform the current editor and users that get blocked from editing.
Various time values are used in combination with these messages. At least for one message the wrong time value is used.

== Steps to reproduce ==
## Describe the steps needed to reproduce the bug. If we can't reproduce it, we  probably can't fix it.
 1. login to a wiki with edit locking
 1. edit a page with one user
 1. try to edit the same page with another user (use other browser)
 1. message: "This page is currently ''locked'' for editing by %(owner)s until %(timestamp)s, i.e. for %(mins_valid)d minute(s)."
 1. The time shown after "until" is not the end of the edit lock, it is something else (for me the start of the edit lock).

== Example ==
##Add URL that show the bug, screenshot or test wiki markup that fail...

##URL: 

##{{attachment:screenshot.png}}

##{{{
##Example wiki markup that fail
##}}}

== Component selection ==

## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ...

 * http://hg.moinmo.in/moin/1.9/file/tip/MoinMoin/PageEditor.py#l1254

== Details ==

## If you got a traceback, please save the traceback page as html and attach here:
## [[attachment:traceback.html]]

This Wiki.

== Workaround ==
## How to deal with the bug until it is fixed


= Discussion =


= Plan =
## This part is for Moin``Moin developers:

 * Priority: 
 * Assigned to:
 * Status: fixed by http://hg.moinmo.in/moin/1.9/rev/715479a7d692

----
## If you are a moin core developer, replace the category to Category* in these cases:
## Category MoinMoinNoBug - if this is not a bug.
## Category MoinMoinBugConfirmed - if you can confirm the bug on current code.
## Category MoinMoinBugFixed - after the bug is fixed in current code.
CategoryMoinMoinBugFixed