This tag can be used for questions about the Date module, or dates.

learn more… | top users | synonyms

0
votes
0answers
9 views

when Node Date Field is empty adding node returns 'The website encountered an unexpected error. Please try again later.' message

I have a field on a Node.content.type which is a date field. recently we've noticed if you enter a blank date here I get the error - 'The website encountered an unexpected error. Please try again ...
0
votes
1answer
14 views

Views3 date field (filter) treated as string

I am used to getting int operators(like less then) in views when using date api fields but now I'm getting string operators so I can't filter on dates(like now). When creating a filter on 'post date' ...
0
votes
2answers
28 views

time mismatch after convert with format_date

In my custom module, I converted time from database like ('17:00:00') with format_date(). After I converted this I got a wrong time (17:10). Please check my code, I am also naive drupal develper. ...
0
votes
0answers
5 views

Issue with sending date values to OR date facet

My apologies for cross-posting but I haven't gotten yet an answer from a relevant Drupal support request So in short I 'm having a date facet with drill-down level set to "years". The search backend ...
0
votes
2answers
25 views

Multiple content types from Views module, not old nodes from one of them

I use the famous Views module to show nodes of different content types. One of these content types has a field called "final date". If a node has an old date, smaller than today's date, I want it to ...
0
votes
0answers
20 views

How do I remove DEC 31 from a date field?

I have an event page on a member's portal. I have added a new Date field to the Event Content type and I am leaving the old date field in to show previous events as they are in that table. I'd like to ...
0
votes
0answers
16 views

Incomplete Date using Date Module?

I've created View/List that contains First Name, Last Name and Birth Dates. It's sorted by Last Name and then by Birth Date. Sometimes I only know the Year and not Month and Day but Date Module forces ...
1
vote
0answers
14 views

Disable past dates in date_combo

Is there a way to disable the past dates in the date pop-up while using the date combo form api? Specifically, I have a date type field in a content type, on which I want to do this. Help ...
0
votes
0answers
22 views

Views Date filtering not working

I have created a view from an entityform that I've set up in D7/views 3.8. There is a request date field in my entityform. The field type is date. i have set the format to be m/d/Y. I added a date ...
1
vote
1answer
8 views

Date field in view Filter Criteria, where date may be blank

I have a date field attached to a content type and it's not a required field. I want to use this date to control the display of the content using a view and it's filter criteria. Some content may ...
0
votes
1answer
34 views

Display event on click of Date with drupal fullcalendar module

i have made a event calendar with fullcalendar module. Now what i need is that when a user clicks on the date box for example 9-sept he should be send to a custom url with the full date in the ...
1
vote
1answer
44 views

Rule to check if a date value is a specific day of the week

I want to set a rule which checks a date of format "2014-09-24 08:43:39" is a Monday using the data comparison rule. I have tried to manipulate the data selector for the date using the ":custom:N" ...
0
votes
2answers
29 views

Views filter referenced content when end date is over

This view is the result of a given postcode. how could I hide/filter referenced content when its end date is over? The referenced content should disappear but the non referenced content should still ...
1
vote
1answer
67 views

Problem to update a date_select field from a tableselect radio button via ajax callback. Other fields are well updated

Here is the corresponding code and a print screen of what happens when clicking a radio button (you can see it works well for type 'select' and 'textarea') I use Drupal core 7.31 and Date Date 7.x-2.8 ...
0
votes
1answer
34 views

How to remove/hide 'to time' in time field

I need to show only one time, no need of start and end time. Or I need to show only start time. Please anyone help me on this.
1
vote
3answers
52 views

How to set a value for date field

I need to set value for a date field with type datetime in hook_form_alter. I tried with below codes. But it is not worked. $form["field_event_date"]["und"][0]['#default_value']['value'] = ...
0
votes
1answer
29 views

Im using entityforms to make events on a Calendar. How can i prevent duplicated dates?

I am developing a Booking System and I am having a issue i.e. How can I prevent duplicate events to be registered ? Right now I am using: Calendar and Date for the event management and Entity Form ...
0
votes
1answer
20 views

Drupal 7 add calendar module. Doubleclick on a day to add calender item for that day

Adding 50+ calender items to my drupal Calendar is a pain and takes a lot of time clicking and selecting the right date. What would be awesome is that it would be possible to just doubleclick or click ...
1
vote
1answer
41 views

Is it possible to implement date field as one select list?

Currently when we use default date field with widget select list, it shows like 3 drop-downs with Year, month and date. Is there any way to make it as one drop down. I need to display few dates from ...
0
votes
1answer
20 views

Show datetime value in views with entity api

I made a custom entity with a date field stored as datetime in mysql. I see the proper output in my content, and all other field values in my views except the datetme value. Only the label is shown. ...
2
votes
1answer
40 views

How can I create a programmatic Search API query which uses a date field

I'm trying to create a programmatic Search API query. I've successfully created one which looks for all nodes which are published: $index = search_api_index_load("node_index"); $myQuery=new ...
0
votes
0answers
17 views

Showing “viewed” and date/time in Private Message with Nodejs integration

I'm experimenting with a new D7 site taking advantage of private message with nodejs in order to build a chat. After some struggle everything works like a charm but it would be very nice if the chat ...
1
vote
0answers
14 views

How can I make Repeat Event and give status to every Event

I think most of us use Date module and calendar to handle the repeat event problem. But Is it possible to give all the repeat with status? For example, I create a repeat event about exercising every ...
0
votes
0answers
17 views

A kind of error when trying to bulk modify a date field using Views Bulk Operations (VBO) - Action Modify entity values

Using Drupal 7.31, Views 3.8, VBO 3.2 I created a view that display all nodes of a content type; I want to modify some fields values using VBO (Action to Modify entity values) and it's working OK ...
0
votes
1answer
29 views

D7 show all events that are active between two dates chosen from exposed date filter

I have a problem in showing views results with an exposed date filter in D7 views 3.x. problem We have several events with a date field. It is required to fill in a start and end date. We want a ...
0
votes
1answer
16 views

Change date formate in drupal admin tables (log, content listing, edit pages, etc)

I've looked everywhere but can't find out how to change the date format in the admin/content/ table and the recent log table. Current it is displayed as '09/05/2014 - 00:18'' but I just wanted to ...
0
votes
0answers
13 views

Required pagination in Drupal view's output when showing repeat date fields value

I have a content type in drupal 7 whose name is lesson. I created a date field with repeat option. Now I have created a lesson on 01 Sep 2014 as start date and end date and used repeat option to ...
0
votes
1answer
71 views

Calendar View of Events shows 1st of month in header

I would like my Calendar Page View of Events to show "August 2014" (or whatever the current month is) as the heading instead of showing "Friday, August 1, 2014" (see attached pic). Is there a ...
2
votes
2answers
85 views

Views sorting by date

I want an overview of articles sorted by their post date (some articles will be posted back in 2007). But then the possibility should be there to move an article back to the top of the list (we want ...
0
votes
0answers
17 views

Set default value for time field in custom form [duplicate]

I am trying to set a default value for time field only in a custom form using date module API. The code is as follows: $today = strtotime('00:00:00'); ...
3
votes
1answer
114 views

Form API: fomatting the date select lists?

I'd like to format my date select input, using the following time formats: 12-hour format of an hour without leading zeros Minutes with leading zeros Here's my form definition: ...
0
votes
0answers
14 views

Drupal Date Repeat Module has no delete option

I'm using a custom content type with the drupal date field inserted with the date-popup calendar. The content type allows for multiple dates however there is no delete option, so they just keep ...
0
votes
0answers
21 views

Allow timestamp published/updated dates for certains fields?

Is there a module to enable or disable the created and updated dates to certain fields? The goal is to have a timestamp of the date of creation/modification date of a field (of type text) has ...
0
votes
0answers
38 views

How to support fast year browsing in jquery UI Datepicker?

I am using jQuery UI Datepicker in an exposed filter of a view and I get the following Datepicker: How is it possible to configure the Datepicker, so that I can quickly navigate through the years, ...
0
votes
1answer
52 views

Hiding Field(s) if Date is Expired

I'm using Drupal 7 date field. Using views, when the date has expired, the page goes to a section labeled 'past events.' In the template page, the date and time are both separated for instance. ...
1
vote
0answers
40 views

How to change date format in Views Calendar Pager?

I have multiple displays rendered in a Calendar View (Mo/Day/Upcoming/etc.) and everything's working as it should... except I changed a setting somewhere and applied it to all pages instead of current ...
0
votes
0answers
29 views

Hiding Time Field if Date is Expired

My time field shows after an expired date. My client wants to have the time hidden after the expired date. But still have the date show. Is this possible?
0
votes
1answer
29 views

Split a date field output into two spans

I have a Date field on a content type. I'm trying to render it so that just the Month and Day are visible, but I need each in a separate . I think the most appropriate place to do this is in the ...
0
votes
1answer
101 views

Cannot change date input format in views exposed filter

I am unable to change the date format for an exposed field in views. I am using BEF datepicker popup. I overrode the jquery settings to get it to enter a UK date in the dd-mm-yy format but because ...
0
votes
1answer
22 views

View filtered by a Date field's value being in “last month” shows July content on July 31

A View is filtered by a Date field's value. The Date field's month must be last month in order to match the filter. On every day except July 31 it would return results from last month. It should ...
1
vote
1answer
24 views

Webform - how do I change dateformat in mail

Module: Webform The short date type is dd/mm/yy, so it appears correctly in the form (day/month/year) But in the mail it is shown with month first. (month/day/year) How can I change the date type in ...
0
votes
1answer
83 views

Alter display of jQuery Calendar Popup

I've got a Date field on my content type and I'm using the jQuery pop-up calendar as the widget. The html rendered for it has extra stuff that I'd like to strip away, but I can't find a way to ...
0
votes
0answers
26 views

Monthly calendar is now entitled “Friday, August 1, 2014”

My monthly calendar is now entitled "Friday, August 1, 2014" for all views and blocks that use the monthly calendar. All other views like day, week, year are all fine I believe. I just now noticed ...
0
votes
2answers
23 views

Unable to set date field programmatically

Somehow my custom fields ('datum' and 'high') are not set in the following script. Could someone tell me what I am doing wrong? function erstelle_kursenodes() { $content = ...
0
votes
0answers
18 views

How do I set a Calendar event date to repeat infinitely?

i'm having some difficulty in setting a repeating date in the Calendar module. these meeting events should repeat infinitely instead of using a 'repeat rule'. when setting up this field i think i saw ...
0
votes
1answer
21 views

Extra handler breaks Datepicker field

Problem I have a form which a user can create data with and some of the fields are date fields which use jQuery datepicker. The form is long and in order to help the user out, I have a series of ...
0
votes
1answer
46 views

View filter on date “Less than or equal” AND NULL(empty)

I just made a view with some filters (date), I wonder how can I choose the operator to mix the options "Less than or equal" and NULL, in just one request? I can't do that with "Grouped filters", ...
0
votes
1answer
29 views

How to display only “after now” dates (of multiple) of a date-field in a node?

I have an 'event' node-type with just a body and a date-field. For that date-field, multiple dates are allowed. I'm listing event-nodes in a view and already use filters to only display nodes when ...
0
votes
2answers
43 views

Calendar Pop Up - Extend year range

A little bit of introduction: I have a specific content type with the name "Database" where i can add content and with the views module and Search API, the user is able to search on my site for that ...
0
votes
1answer
28 views

Clearing a Date Field value in the Edit Node form

I have a content type with a date field (field_acquisition_date) and I'm using the Popup Calendar widget in the form UI. If a user... puts a value into that field and save the node then edits the ...