whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Get date only
Date Fri, 07 Dec 2018 14:09:07 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 09334fa  Get date only
09334fa is described below

commit 09334faac42fb178c15fc6f1041b24d0af7c4f65
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Dec 7 14:08:49 2018 +0000

    Get date only
---
 lib/whimsy/asf/person.rb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/whimsy/asf/person.rb b/lib/whimsy/asf/person.rb
index 2527f50..b6378c9 100644
--- a/lib/whimsy/asf/person.rb
+++ b/lib/whimsy/asf/person.rb
@@ -121,6 +121,10 @@ module ASF
       result
     end
 
+    def createDate
+      createTimestamp[0..7]
+    end
+
     # return person's public name, searching a variety of sources, starting
     # with iclas.txt, then LDAP, and finally the archives.
     def public_name


Mime
View raw message