🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #573

date_select - jak pobrać datę?

#573
From: Piotr Czeszkiewicz
Date: Sun, 02 Sep 2007 09:06
16 lines
1131 bytes
Witam,

Mam w widoku

= date_select :zal, :created, :start_year =>  Time.now.year - 2

Jak w controllerze wydobyć z tego datę w formacie '0000-00-00'?

params[:zal] daje taki format:

created(1i)2007created(2i)9created(3i)2

Pomocy.

-- 
czeslavv
Technical Details
Message-ID: <fbdund$kjv$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Piotr Czeszkiewicz <piotr.czeszkiewicz@gmail.com>
Newsgroups: pl.comp.lang.ruby
Subject: date_select - jak pobrać datę?
Date: Sun, 02 Sep 2007 11:06:02 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 16
Message-ID: <fbdund$kjv$1@nemesis.news.tpi.pl>
Reply-To: "piotr[.]czeszkiewicz["@]gmail.com
NNTP-Posting-Host: 217.98.102.10.ip.airbites.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1188724270 21119 217.98.102.10 (2 Sep 2007 09:11:10 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 2 Sep 2007 09:11:10 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit