From be76226354476ba6134eaacd914323f10410e3a0 Mon Sep 17 00:00:00 2001 From: Glenn Proctor <gp1@sanger.ac.uk> Date: Tue, 27 Mar 2007 14:38:17 +0000 Subject: [PATCH] Corrected documentation for created_date() and modified_date() - they actually use a UNIX time integer value, not a MySQL date. --- modules/Bio/EnsEMBL/Gene.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/Bio/EnsEMBL/Gene.pm b/modules/Bio/EnsEMBL/Gene.pm index 24b5576234..76b5f458ad 100755 --- a/modules/Bio/EnsEMBL/Gene.pm +++ b/modules/Bio/EnsEMBL/Gene.pm @@ -757,8 +757,8 @@ sub is_current { =head2 created_date - Arg [1] : (optional) String - created date to set - Example : $gene->created_date('2006-05-01 12:00:00'); + Arg [1] : (optional) String - created date to set (as a UNIX time int) + Example : $gene->created_date('1141948800'); Description: Getter/setter for attribute created_date Returntype : String Exceptions : none @@ -776,8 +776,8 @@ sub created_date { =head2 modified_date - Arg [1] : (optional) String - modified date to set - Example : $gene->modified_date('2006-05-01 12:00:00'); + Arg [1] : (optional) String - modified date to set (as a UNIX time int) + Example : $gene->modified_date('1141948800'); Description: Getter/setter for attribute modified_date Returntype : String Exceptions : none -- GitLab