Index: tools/push-to-trunk/push_to_trunk.py |
diff --git a/tools/push-to-trunk/push_to_trunk.py b/tools/push-to-trunk/push_to_trunk.py |
index cee871fc6e478c403ea6cc78d5ac9f8138e3e515..9c9c75f5646b108959035b207cb00aac2382ed3a 100755 |
--- a/tools/push-to-trunk/push_to_trunk.py |
+++ b/tools/push-to-trunk/push_to_trunk.py |
@@ -26,7 +26,6 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-import datetime |
import optparse |
import sys |
import tempfile |
@@ -115,7 +114,7 @@ class PrepareChangeLog(Step): |
# These version numbers are used again later for the trunk commit. |
self.ReadAndPersistVersion() |
- date = datetime.date.today().strftime("%Y-%m-%d") |
+ date = self.GetDate() |
self.Persist("date", date) |
output = "%s: Version %s.%s.%s\n\n" % (date, |
self._state["major"], |