similar to: DhtmlCalendarHelper

Displaying 20 results from an estimated 1000 matches similar to: "DhtmlCalendarHelper"

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
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
2007 Nov 02
0
DATE_FORMATS and functional tests
I have the following in my environments.rb file: my_formats = { :msc => ''%d %b %Y %I:%M %p'', :msc_short => ''%d %b %Y'' } ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.merge! (my_formats) ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge! (my_formats) With this, things like
2006 Mar 23
5
Custom date format
Hi, I''ve followed these directions : http://railswiki.pdxruby.org/HowToDefineYourOwnDateFormat.html It seems pretty straightforward but obviously it doesn''t work for me... article.date_edited.to_formatted_s(:my_format_1) produce a default formatted date, not the one I''ve defined in environment.rb : ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge!(
2006 Oct 09
1
error running 'ruby script/console' => "uninitialized constant RAILS_ROOT" ??
Hi, Anyone suggest why when I try to run the console via ''ruby script/console'' I get the following "uninitialized constant RAILS_ROOT" ?? Error: ================================ V:\Source\testapp>ruby script\console Loading development environment. ./script/../config/../config/environment.rb:3:NameError: uninitialized constant RAILS_ROOT
2006 May 10
2
Rails, Postgres and the Date Field.
Hi guys, I''m having problems with my app. First of all, I created a date_select with the code: <%= date_select(''contact'', ''birthday'', :order => [''day'',''month'',''year'']) %> In the contacts table, I create a date field: birthday DATE When I save the values goes wrong into the database.
2006 Jan 24
0
to_formatted_s(:rfc822) doesn''t work
I do ''@item.datetime.to_formatted_s(:rfc822)'' and it outputs: 2003-08-06T04:12:00-0600 '':db'' doesn''t work either, but '':short'' does. How can I output rfc822 without actually putting all that awful % code in my templates? I''ve also tried this in environment.rb, but it still doesn''t work:
2008 Apr 04
0
Date.to_s format with time_ago_in_words
Hello, Following this post''s instructions (http://railspikes.com/tags/date) I''m trying to define a Date format like this: ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.update(:date_ago => lambda { |date| date.strftime(''%a, %d %b, %I:%M%p'') + '' ('' + time_ago_in_words(date) + '')'' } ) But it keeps giving
2006 Apr 13
5
Changing class data in environmrnt.rb
Greetings, I have a class that should allow you define some default values. It seems to make the most sense to do this environment.rb since its the default app configuration. It currently looks like this: Settings::DEFAULT_VALUES.merge!({ :setting_one => ''foo'', :settings_two => ''bar'' }) The problem is in development mode, the values are only
2006 Mar 14
21
Changing default date format in Rails
I''ve spent all day digging through the rails api and postgres-pr on this, I think it''s time to ask the list. Postgres stores a Date in YYYY-MM-DD format. My users want the dates in MM/DD/YYYY format. Sure, I could explicitly convert it on the app level every place where a date is displayed, but that seemed like a DRY violation. I thought I''d be clever and simply
2005 Jun 21
3
dynarch calendar problem when used with ajax
I''ve got a partial with a form using the dynarch calendar (calendar_field behavior). Working. Now I render this partial from the action specified in to a link_to_remote. Now when I click the calendar it''s not showed anymore. theese lines: <%= stylesheet_link_tag ''calendar-system.css'' %> <%= javascript_include_tag ''calendar'',
2011 Feb 04
5
Date parse - month and day reversed
I am getting the month and day reversed in parsing a date. I am wondering if there is some intelligence in Ruby that knows that at the moment I am in Mexico, as the parsing is working as if I was "6/15/2008".to_date => ArgumentError: invalid date "15/6/2008".to_date => Sun, 15 Jun 2008 What I really want is my date to be understood as month/day/year. Is there a way to
2013 May 13
0
DSPs which are suitable for porting OPUS
Dear Christian van Bijleveld, You can use any of the below DSPs of Texas Instruments 1. TMS320C674x - This supports floating point implementation of opus 2. TMS320C66x - This supports both floating and fixed point implementations 3. TMS320C64x - This supports only fixed point implementation Regards, Mahantesh On Mon, May 13, 2013 at 10:12 PM, <opus-request at xiph.org> wrote: >
2006 Jun 14
5
display formatted date
Hi, In my form I have date field set as ''datetime_select'' which is fine as I wanted it in the same format. But while displaying (list action) it displays date in long format i.e. ''Tue May 30 15:39:00 Central Daylight Time 2006''. How can I format it so that it will just be diaplyed as ''dd/mm/yyyy'' format? Thanks -- Posted via
2011 Dec 22
0
Decoding only a certain frame results in different values than when decoding the entire file
HI Hermann, I am not sure I understand exactly what you are trying to do. Let me try to describe what I understood (I assumed your byte array starts @ 1 and not 0 as it is supposed to be in C) : ############################## CASE 1: (output is good) ############################## - INITILIAZE_DECODER (reset state memory) - READ bytes 1 to 124 - SpxDecode(DinBuf, DoutBuf, unsigned int
2008 Aug 04
0
[Bug 1163] new option: --show-config or similar to show configuration state (?)
https://bugzilla.mindrot.org/show_bug.cgi?id=1163 Uwe Hermann <uwe at hermann-uwe.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED CC|
2006 Jan 07
1
How to DRY with Fixtures (helper or extend Time class, how)?
I have a test/fixtures/users.yml like so: apa: id: 1 username: apa [...] created_at: <%=Time.now.strftime("%Y-%m-%d %H:%M:%S")%> updated_at: <%=Time.now.strftime("%Y-%m-%d %H:%M:%S")%> I don''t like how I''m repeating myself with the strftime bit. Is there some shorter Time method to format time for a (MySQL) datetime field that
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
I found out something: The more frames I decode before the frame that I actually want to decode, the better the quality becomes. For example when I basically want to decode frame #100, I read frame #80 to #100, and then frame 100 has the quality that I need. Why? Is there any information on this behaviour? Thank you. Hermann Am 23.12.2011 18:37, schrieb Hermann Weber: > It would be nice
2006 Sep 28
1
[Newbie] Trying to use Inflections in a non active record class
Hi Sorry if this is too silly to ask. I did RTFM and didn''t find anything obvious. I have a helper class for my controller which needs to singularize words. I need to access methods in the ActiveSupport/CoreExtensions/String/Inflections class. Doing a require ''ActiveSupport/CoreExtensions/String/Inflections'' fails. How do I add this specific class to a helper class
2008 Jul 23
1
how to get day name using ActiveSupport libraries
Is there any way to get the name of the day (i.e. mon, tue...) using the ActiveSupport libraries. I looked through these two libraries but can''t seem to find it: http://api.rubyonrails.com/classes/ActiveSupport/CoreExtensions/Numeric/Time.html#M000421 http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/Time/Calculations.html#M000308