Displaying 20 results from an estimated 10000 matches similar to: "very strange date problem for the month may"
2011 Apr 25
1
CalendarDateSelect Error:
Hello All,
I guess you guys can light me up better than google. I am getting a
pop-up when i introduced full_calendar functionality in my app. The
pop-up message is:-
CalendarDateSelect Error: Prototype could not be found. Please make sure
that your application''s layout includes prototype.js (.g. <%=
javascript_include_tag :defaults %>) *before* it includes
calendar_date_select.js
2008 Jan 08
1
Rails 2.x CalendarDateSelect
Recently I have taken up learning rails 2.0
Unfortunately the SuperInplaceControls (the Rails 2 version of
CalendarDateSelect) plugin has been giving me some trouble. It seems
that rails does not realize the plugin has been installed.
Does anyone have any thoughts as to what is happening here.
STEPS
1. Installed the SuperInplaceControls (the rails 2 version of
CalendarDateSelect)
ruby
2008 Feb 29
0
undefined method `calendar_date_select_tag'
Hi,
I am trying to use the ''Calendar Date Select'' plugin
(http://calendardateselect.googlecode.com/svn/tags/calendar_date_select/).
I''ve copied all the necessary files (javascript + css +
calendar_date_select.rb and so forth files). Further, I added <%=
calendar_date_select_includes "blue" %> line of code in my
layouts/application.rhtml and finally
2008 Apr 04
4
Auto Complete Problems
Hello All,
I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m
having some difficulties. When I start typing in my input box, instead
of getting a nice drop down, the styling on my page is getting all out
of wack (ie my background colours change, link styling changes, etc) and
I''m not seeing any autcompletion data. Here are the steps I''ve taken
2006 Jul 17
2
european date format
hi, overhere users go nuts if they have to enter the date in iso format,
so i have to make my applications in such a way that not only dates are
displayed in the "dd-mm-yyy" format but also can be entered in that way.
somewhere i found this code to put in the environment script:
ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.update(
:default => ''%d/%m/%Y
2008 Dec 20
5
Calendar icon for date selection functionality
Hello.
I would like to add date selection functionality using a calendar
icon. Is there a tutorial anywhere I could use?
Thanks in advance.
Pepe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2012 Feb 02
0
calendar date select
Hi,
In my application I am using calendar_date_select gem to pickup
date and time from browser.
The problem I am facing is:
My application server is in us and when I tried to access the
application from my machine(India) the calendar_date_select returns the
time of my local machine. It does not pickup time from the server. Is
there any way to get server time.
I have gone
2009 Jun 15
1
calendardateselect problem
I am using http://code.google.com/p/calendardateselect/ for my date
time picker.
I am using dd.mm.yyyy format (:finnish)
and i am using
ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge!
(:default => "%d.%m.%Y")
ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge!
(:default => "%d.%m.%Y %H:%M")
in my enviroment. Everything is working
2004 Aug 06
0
strange noise from icecast
It looks OK for now.
Thanks,
Mitja
-----Original Message-----
From: Remco B. Brink [mailto:remco@rc6.org]
Sent: Friday, March 07, 2003 12:14 PM
To: icecast@xiph.org
Subject: Re: [icecast] strange noise from icecast
<p><quote who="Mitja Pirih">
> Hello,
>
> I'm using icecast for at least 3 months now and I am experiencing a
> strange noise and also some
2004 Aug 06
1
strange noise from icecast
It worked OK for past 4 days and now again with that noise. I restarted icecast server and again I have clear sound. It looks that the problem is in icecast.
-----Original Message-----
From: Remco B. Brink [mailto:remco@rc6.org]
Sent: Friday, March 07, 2003 12:14 PM
To: icecast@xiph.org
Subject: Re: [icecast] strange noise from icecast
<p><quote who="Mitja Pirih">
>
2011 Feb 03
1
How to transfer a javascript value into a symbol used in Ruby on Rails
Hi,
I am currently using Rails 2.0.2 with Ruby 1.8.7. My Prototoype.js
version is 1.7(if required). I am basically trying to integrate the
calendar_date_select plugin in my app.
The link/tutorial I am referring is: http://ianli.com/site/HowTo/UseCalendarDateSelectRailsPlugin
I am trying to save the date I receive through the date select plugin
and store in a rails symbol :publishing_date.
I am
2008 Oct 15
0
Combine date and time in mysql
I have a date from a calendar_date_select and a time from a time_select.
They go to a date field and a time field in mysql. How do I combine time
and date on both sides to make a comparison in a find?
I think this is on the right path, right?
DATE_ADD(start_date, INTERVAL start_time HOUR_SECOND)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You
2006 Aug 07
3
simple if - then question
hi, could somebody tell me the difference between:
if not params[:id]
flash[:notice] = blabla''
redirect_to(:controller =>"calendar", :action => ''index'')
end
and:
if params[:id] == nil
flash[:notice] = blabla''
redirect_to(:controller =>"calendar", :action => ''index'')
end
the first one
2006 Jan 16
8
[newbie] This Month / Next Month / The One After That
What I want to do is simple.
I''d like code that prints out the name of this month (January) the next
month (February) and the one after that (March)
I''ve been able to print this month:
<% t = Time.now %>
<%= t.strftime(" This Month is: %B") %>
But I can''t figure out how to get the next months to print out!
--
Posted via
2007 Apr 05
1
Extent of time zone vulerability for POSIX date and time classes
Hi.
I frequently convert date and time data to and from character
representations. I'm frustrated with chron, because 'seconds' are
required to create a time object (my input data never has seconds).
More importantly, I cannot make chron print the format 12/30/2006 (which
my output data requires).
I really like the format flexibility of strftime() and strptime(), but
of course
2006 Jul 24
2
how to avoid repeating code in controller
Hi,
I created a calendar class and i now have a method which gives me a 1
day view with timeslots etc. now i want to re-use that code for
generating 2 and 5 day views. how can i re-use my code so i can make a
show_two_days class which uses the logic of the show_one_day class?
am i correct it can''t be done with helpers?
regards,
Remco
--
Posted via http://www.ruby-forum.com/.
2006 Feb 18
5
Date formatting error
Hi All,
I''m a bit stumped. All I''m trying to do is format a date and I get an
error. Details below.
I have a partial to list all "notes" associated with a "client" with the
following code.
<% for note in @client.notes %>
<hr />
<%=h note.note_text %>
Posted on <%=h note.created_at.strftime("%I:%M") %> by <%=h
undefined local variable or method `calendar_date_select_includes' for #<ActionView::Base:0x7bfd920>
2011 Mar 18
1
undefined local variable or method `calendar_date_select_includes' for #<ActionView::Base:0x7bfd920>
Here''s what I did:
1. gem install calendar_date_select
2. Then in my environment.rb I put:
config.gem "calendar_date_select"
3. And in my template file:
<%= javascript_include_tag "prototype" %>
<%= calendar_date_select_includes %>
But still an error posts like this : undefined local variable or
method `calendar_date_select_includes'' for
2012 Apr 17
6
ActiveRecord with different Date/Time format
I have an application where user sets his/her preferred date/time
format. User is expected to enter datetime in his preferred format
across the application. Now the problem is for few formats the datetime
is parsed wrongly while create/update ActiveRecord.
For example user has set date/time format in hh:mm dd/MM/yyyy. Now if
user enters 17:00 04/05/2012 it parses it as 5 PM 5 Apr, 2012 where it
2009 Oct 27
2
Year and Month extraction from Date object.
Hello,
I have seen much discussion on Date. But I can't seem to do this simple operation. I can convert a string to a date:
d <- as.Date(DATE, format="%m/%d/%Y")
But what I want to do is extract the year and month so I can construct an element in a ts object. Ideally I would like to see d$year but that doesn't seem to be available. Once I have a Date object how can I get an