Questions tagged [date-format]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Bug in Freeform Pro, Date Order in form field?

There seems to be a bug in Freeform Pro when switching between Date Order in the Field property settings for a Date in a Form (Date Time Type is set to Date for the field). After checking four digit ...
0
votes
1answer
24 views

Calendar Tag Full Day of the Month

EE 5.2.2 Quite a simple question: In the EE calendar tag, instead of showing {day_number}, I'd like something like {day_of_week}. So rather than showing '5' I want my calendar to show 'Thursday, 5' --...
0
votes
1answer
61 views

Correct php code for EE3

Im trying to set up this php code in EE3 <?php $year = $this->EE->localize->format_date("%Y", $this->EE->localize->now); ?> How would I write it to be EE3 compatible?
0
votes
1answer
28 views

difference date format iPad / Macbook when viewing site from same IP

Is there someone that can explain this to me. I call exactly the same page from same IP in 2 different devises but the formatting of the date is different. This is the Template code: <p>{...
0
votes
1answer
55 views

How do I change the way dates are displayed in channel forms and remove the time

I need to change the way the date displays on the front end, specifically in channel form date fields. Currently it’s 18-2-16 2:11 PM I’d be OK with this if it just didn’t have the time displayed. ...
1
vote
1answer
79 views

Formatting date does not follow localisation settings!

Although I have set in the CP the localisation settings to Swedish, also for superadin and my users, and I have installed the Swedish foreign language pack the date formattings in my Templates still ...
0
votes
2answers
85 views

Problem with date/time setting

So I have ExpressionEngine Core Core v2.10.1 - Build Date: 20150501 installed and under localisation I have set to see 24 hour default time formatting and to include seconds in the default time format,...
0
votes
1answer
114 views

Outputting date variables with formatting in Channel Form

I'll preface this by saying that I am asking for information, not a coding solution. At this point, it is unclear to me why EllisLab would intentionally do this. I'm creating an edit form for a ...
0
votes
2answers
350 views

Jquery datepicker channel form

I'm trying to get a Jquery datepicker working with Channel form, but it's only partially working. In my form I have: <label>Event Start</label> <input name="event_start_date" id="...
0
votes
1answer
183 views

Cannot Format Date fieldtype in Channel Form

I've created a Date fieldtype in Channel Fields and want to display this date in a Channel Form without the time. For example, 5/19/14 8:19 AM, I only want to display: 5/19/14. I thought the EE date ...
0
votes
1answer
140 views

How to Modify a Global Date Variable

Is it possible to modify a date variable (entry_date in this case) so that you have entry_date plus one year (or any other amount of time)? For example, if entry_date was 6/4/14 2:59 PM, could I add ...
1
vote
1answer
248 views

Formatting custom date fields within channel entries row hook

In Shortlist the {exp:shortlist:view} tag extends the channel->entries() method for it's parsing needs. This works and allows for full custom tag parsing without much extra effort, but runs into ...
0
votes
1answer
121 views

Search Date Field with a Custom Format

I'd like to return all entries that are in the future - but based only on the day of the week and time. I've got it working with just %H:%i (Hours/Minutes), but can't get it to respect the day of the ...
0
votes
1answer
41 views

Count and list the consecutive years for 10 years

I would like to know if I can do this using ee or if I have to implement a PHP method. Basically I want a dropdown that lists years from the current year to the next ten years so: 2014, 2015, 2016 .......
0
votes
1answer
203 views

Pass a UNIX Timestamp as a URL Segment to display entries edited since that date

I'm trying to create a template that will display a list of entries that have been added or edited since a particular date. The date would be passed as a UNIX timestamp in the URL like so; mydomain....
1
vote
1answer
350 views

Simple conditional to compare expiration and entry date failing to evaluate

I'm trying to code more readable dates on posts which have been entered. It will read "12 - 17 Jan" but if the month is across two months it will read "12 Jan - 2 Feb" Spitting out my dates like so ...
0
votes
0answers
59 views

calendar, first date wrong

i've got a weird issue with the first date from calendar entries showing up as the wrong day number and weekday. ie: instead of 01 Sunday it reads 001 Monday, but every other entry loads perfectly. ...
0
votes
1answer
144 views

Conditionally display a relationships field if not empty (native relationships field)

I am not sure if anyone can help me! I'm using the following code to display a list of articles and it works, however there are two issues. The first is the date of each article is the same for ...
1
vote
1answer
52 views

Solspace pad_short_weeks and error with simplistic date formatting

We're starting our cal entry loop like so: {exp:calendar:cal date_range_start="{embed:month_start}-{embed:day_start}-{embed:year_start}" date_range_end="{embed:range_end}" pad_short_weeks="y"} ...
0
votes
1answer
124 views

Date math using segments

I need to take {segment_n} where the segment is either a Month, Day, or Year value and add values to it. For example, I need to be able to add values like so: {embed="calendar/landing" month_start="{...
0
votes
2answers
308 views

How can I format entry_date when using AJW export?

I'm exporting freeform entries with AJW export, and have no idea how to format the entry_date field when exported as .csv AJW export documentation doesn't appear to exist, besides a sample EE tag you ...
1
vote
1answer
267 views

channel form date field customize

How should I use third party date picker? Because EE date field seem not user friendly. 1) If my date is to insert birth date, then it is hard to navigate thru years. 2) how should I take away time ...
2
votes
1answer
114 views

Redirect during specific date range

I have 2 conditionals at the beginning of a template that are supposed to redirect the visitor to a different template if they are hitting the page outside of 2 different time spans, but the redirect ...
1
vote
2answers
90 views

calendar and date formatting error

No matter how I format my entry_date, it throws an error: {exp:channel:calendar switch="calendarToday|calendarCell" channel="workshop_events" show_future_entries="yes" ...
3
votes
2answers
1k views

dd-mm-yyyy date format in Control Panel

I want to show the date format in european style (dd-mm-yyyy). I changed and configured all settings to European. $config['default_site_timezone'] = Europe/Amsterdam doesn't solve the problem. Can ...
3
votes
2answers
500 views

Dates before 1900 (even 1800) in EE 2.6?

With the changes to the way dates are handled in EE 2.6, can dates be set prior to 1900 (or even 1800) using the Date form field?
3
votes
2answers
176 views

Plugin development: How do you support date formatting in parse_variables?

I'm trying to support date formatting of a tag's output, per the Plugin Development & Template Class documentation. I have this code on the backend, with some redundancy on the timestamp value to ...
1
vote
3answers
124 views

Channel Field Date: Ignore timestamp during comparisons

I have a channel field named start of campaign and one named end of campaign. I want to make do a conditional that says if today is equal to or later than the start of campaign AND today is before ...
4
votes
2answers
968 views

ExpressionEngine edit_date formatting

Is there a reason the edit_date in exp_channel_titles isn't in Unix time format? I need to display the last edit date of a section of a website so I'm doing a simple query {exp:query sql="SELECT ...