The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
8 views

What is the correct format for a Timefield in an email body?

I'm using the Timefield API to define a "time" field. The field represents an arrival time for an event and is formatted to look like HH:MMpm (for example, 5:30pm). I'm trying to format the time in ...
1
vote
2answers
15 views

How show time period in one concrete unit

How can I show "time period" in one concrete time unit. E.g.: I have movie node type with "length" field with display formatted by time period. But if you put more then 60 minutes into it then it's ...
2
votes
0answers
8 views

How do I stop Xpath Parser from auto-calculating my timezone?

When I upload an XML file using the Xpath Parser, Drupal subtracts 8 hours to account for my Pacific Time Zone. This isn't helpful, as it requires for me to convert time in my head. Is there any way ...
0
votes
1answer
34 views

display link after finishing coutdown time

I am using Jquery Countdown module. In this, user can display text message after completing countdown. But I want to display a link after completing countdown.
0
votes
1answer
34 views

Minutes in date value displayed never the same as value entered [closed]

I have a weird bug. On many content types, I have a Date field using the Pop-up calendar widget with the format "February 3 2014 - 2:35". When that date is displayed, the minutes are never the same ...
0
votes
1answer
78 views

Webform hours/time field

How do you add a field where user can set hours when it's best to call for contacting. The Date field gives only days, months and years. In this thread Webform: Time Field - Changing Variable ...
0
votes
1answer
33 views

How to define the time-range for the Time Field in Webform 4.x

is it possible to change the selectable time range in a time-field in Webform? I don't want the users to have the choice to select between 00:00 and 23:59. I only want them to choose between 15:00 and ...
0
votes
0answers
44 views

deleting rss aggregator items based on time limit specified in the item?

I'm not sure if my terminology is correct, but essentially I have several RSS feeds with information that is time sensitive i.e. a live stream on twitch, youtube, etc that will last for let's say, 75 ...
0
votes
2answers
36 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
1answer
52 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.
0
votes
0answers
44 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
2answers
103 views

Creating time dependent user registration in Drupal 7

I wanna register a user which deletes itself after 24 hours. Or Just doesn't allow user to login after 24 hours of creation. Is it possible? Thanks.
0
votes
1answer
60 views

Inputs for “am” and “pm” get messed up on the arabic side when editing content

When creating/editing a node on the english side all works ok but when this is done on the arabic side it breaks up the am/pm form. The markup values also change unlike on the month or hour fields. I ...
0
votes
2answers
322 views

Execute a rule after a countdown finishes

I checked Countdown Timer Field module and some others but it seems they can't help in this issue. I have a content type (organic group content type) I want this content type have a field for example ...
0
votes
0answers
56 views

Countdown timer compatible with rules

Im trying to execute a custom rule when a countdown timer ends. What I want to do is this: I have an organic group content type, while you create a group you can say how long you are going to let ...
1
vote
1answer
17 views

How to query drupal timefield data

Scenario: We have a bunch of events, each event has a date field, and a separate time field that has a start and end value. I'm trying to build a module pulls in the next event that hasn't ended yet. ...
0
votes
0answers
67 views

How to hide the “date” field in the summary of an event on a month calendar

In D7 with the calendar module, in the "month" view I want to hide the display of the day of the events. It makes no sense, and takes up valuable room to see a little square on the calendar that ...
0
votes
1answer
51 views

Time field in EntityForm

How can I add a field in my entity form that allows the user to add time. When I use date, I can add time field but there is always a date field. I don't want the user to add date field, just the ...
0
votes
1answer
155 views

get all nodes created in a specific month

I have a custom search form that I posts a year + month, such as 2014-04 I would like to get all nodes created that month, when I create the timestmap I use: "SELECT ....... AND changed >= ...
1
vote
1answer
292 views

How do I set the exact post date timestamp as Views contextual filter?

I need to display nodes that were created within a certain period of time. Setting Date: Date (node) (content: post date) as contextual Views filter works super smooth. Now when I call ...
1
vote
1answer
38 views

Undefined index: cck_time_field_presave()

I have imported about 2 thousand nodes that include start time. I have imported and the formating and time looks the way it should. Now if i try to publish the nodes i get following error - ...
0
votes
1answer
211 views

Drupal7 | Time shows differently in Frontend and Backend

The front end time shows as 3 hours behind the backend time of the same page. The correct time is the one on the backend. I set the time-zone correctly for the user and also the time show correctly ...
0
votes
2answers
805 views

Incorrect Time showing on frontend

I have installed the Date Module and added a date field to one of my content types, the widget I'm using is Popup Calendar. The problem I'm facing is that when I choose a date it seems to get stored ...
2
votes
2answers
691 views

How to Sum up 2 fields of integer, and present as “Time period”?

I am building a drupal site. I have 2 fields: "prep time" and "cook time". Both fields are: FIELD TYPE = Integer WIDGET = Time Period I need to sum up the two fields to one field (total time), ...
2
votes
2answers
659 views

How to collect Duration input, and let Google read it in “ISO 8601 duration format”?

I am building a Recipes site. As Google is demanding here: https://support.google.com/webmasters/answer/173379?hl=en I need to collect prepTime, cookTime and totalTime, in ISO 8601 duration format. I ...
1
vote
1answer
301 views

How to collect time periods, calculate the total, and present in ISO 8601 format?

I am trying to get few inputs of time periods from users (it can be by choosing in dropdown). let's say a user will be able to input in one field: "1 hour and 5 minutes" or 01:05; In second field the ...
1
vote
1answer
94 views

Can the Devel page generation times be placed at the top of the page?

Can the Devel page generation times be placed at the top of the page?. Devel places the page timer and memory usage figures at the bottom of the page making it necessary to scroll down to view them. ...
3
votes
2answers
1k views

How to migrate date fields correctly?

I want to migrate taxonomy terms from a legacy database to my drupal 7 installation. This is working almost as desired. What I do is basicly define a mapping as described in any migration example, ...
0
votes
1answer
99 views

Publish press release at a precise time

My department is planning to move its website to a new platform in the next year. We are evaluating several options including Drupal and Liferay. One of the critical requirements is that we need to ...
0
votes
1answer
25 views

Date problem after restore

I had to restore a drupal 7 site from scheduled backup using backup & migrate. Since then I seem to have problem with date/timestamp. I have a view (3.6) filtering on node created date with ...
0
votes
0answers
733 views

Troubleshoot PDOExeption SQLSTATE[22007]: Invalid datetime format: 1366

I am evaluating NodeStream with its web newspaper product. When I create content with devel generate, I am presented with: PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect ...
1
vote
1answer
35 views

How to collect and publish time duration from users?

I am creating a cooking site. I want to collect time duration for the recipe from the user. Meaning, I want to collect the cooking time (e.g. 0:35 minutes or 1:10) from the user with a drop down ...
2
votes
1answer
4k views

how to show the date the node was created?

i have used the format_date() in my template files to try and output the date created. i followed this tutorial http://webwash.net/tutorials/handling-date-and-time-drupal-7 i created a date format ...
1
vote
1answer
246 views

Associating a timer on flag click on individual nodes for individual users

I have a custom field "Time to Finish" in my custom content type in Drupal7. The "Time to Finish" is basically a timer of sorts. whenever the users click a flag (which is placed on nodes of that ...
1
vote
0answers
43 views

How to change Watcher module's time format so it only displays the time in one line?

I am using the Watcher module for a client's site. I am looking for a way to change the time format so instead of saying 2 days 20 hours ago, it says 2 days ago. Of course, it seems to be OK when it ...
2
votes
4answers
1k views

Drupal Time field for hour:minute:second.tenth of a second

Is there a drupal field type to represent time for athletics sports events. e.g. for 100m sprint: 10.42 seconds but for 800m 1:40.89 (1 minute, 40.89 seconds) In the format : hour:minute:second.tenth ...
0
votes
2answers
107 views

Monthly magazine content organising

I have to develop a monthly online magazine and I am looking for suggestions on the best way to organize the content. Since it's a monthly publication, I want to organise content under January, for ...
8
votes
3answers
1k views

Use Timeago date format for less than 24h ago only

I would like to use the Timeago module as a date format. However, when the time ago has exceeded 24h, I would like it to show another format (e.g. 4 Feb, 2013) much like Twitter or Dribbble use. I ...
0
votes
2answers
1k views

Integer field with unix timestamp convert to readable date in views

I have an Integer field in a content type, which contains a unix timestamp. *(It is not a date module field; just a simple Integer field). In a View, I am rendering this field, but obviously it is ...
1
vote
1answer
127 views

Why are responses for AJAX POST calls in admin UI so delayed

Just in the past day or so, something has happened to my site. For some reason, all AJAX calls from Drupal's admin UI are now taking about 50 seconds a piece. This is absolutely maddening because ...
6
votes
1answer
876 views

Drupal daylight savings issue

My drupal installation is still displaying summer time after the daylight savings switch yesterday. Wrong dates include the following pages: Views displaying nodes with created/updated fields ...
1
vote
0answers
127 views

Date Field shows different times in Frontend and Backend

I have a date field applied to a node. When I set the time in the date field to i.e. 10am and render that date to my website like so: echo date('d.m.Y H:i', ...
3
votes
2answers
1k views

FROM_UNIXTIME(o.created,'%d-%m-%Y') in where clause gives error

I am working on Drupal 6. while executing query when I add and FROM_UNIXTIME(o.created,'%d-%m-%Y') < '".arg(3)."'"; to WHERE clause it doesn't return result. i have tried by using same query in ...
0
votes
1answer
905 views

How to use Drupal unixtime instead of timestamp

What is the proper Drupal way to deal with timestamp fields? I wanted to create two timestamp fields in a MySQL table, but ran into some problems that I can't solve (see this question). So now I ...
0
votes
1answer
376 views

Can I create a table with hook_schema that has two timestamp fields?

For my module I want to create a table with an updated_on and created_on field, both of type timestamp. I found this can be done with mysql_type, but you need to specify a default value for that ...
4
votes
3answers
1k views

Math Expression in Views: Date functions like now()

Is there Date expressions or function? I'd like to calculate a duration between a date field and today ? Is there a now(), today() function? i'd like this kind of math expression: now() - ...
1
vote
2answers
1k views

Publish node for a specific period of time

is there any module which allows user (with a permission) to publish node for a specific period of time? For example, when publishing an article, user decides that it should be published (visible) ...
0
votes
2answers
172 views

Calculate sum in View of ISO-style timestamps

I have a text field on a node type, which the user fills out with a video duration in ISO format (no validation or anything). So, '4:33' or '04:33' would be likely values for this field. The client ...
2
votes
2answers
470 views

How to select every date before now in timestamp?

my database feild type is timestamp here is my code I used it but It also gave me today date I need every date before today "SELECT * FROM {mytable} WHERE date <".$now_timestamp." " please ...
0
votes
1answer
451 views

Timetable for event.

i'm trying to create a timetable using Drupal 7. I need this timetable for an event. At the moment I created it throught views but I think it is too much "heavy". I did it in this way. I created 3 ...