SharePoint 2013:任务列表日历视图仍显示时间! [英] SharePoint 2013: Task List Calendar view still shows times!!

查看:263
本文介绍了SharePoint 2013:任务列表日历视图仍显示时间!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发疯了,试图消除我显示的时间日历视图中的任务. < o:p></o:p>

>

I am using the standard Task List web part in SharePoint 2013. The Start Date and Due Dates are defined as Date and Time Columns, and in the column definition, I absolutely positively have "Date Only" selected. <o:p></o:p>

>

Yet when I create a Calendar View, I am STILL getting 12:00AM - 12:00 AM showing up in the calendar for each and every task! I do not want special script or a workaround to address this. <o:p></o:p>

我尝试定义了从开始日期到到期日期显示的日历,或从到期日到到期日,或从开始日期到开始日期.时间仍然显示. < o:p></o:p>

当我在网格视图中查看任务列表"时,开始日期"和到期时间"日期仅显示日期.没有时间显示.我已将设置从仅日期"更改为日期和时间", 然后返回到仅日期".时间仍在显示.

When i look at the Task List in grid view, the Start Date and Due Date show only the date. No time is shown. I have changed the setting from Date Only to Date and Time, and back to Date Only. Yet the time still shows. 

似乎没有任何方法可以将任务选择为全天活动".我需要显示的是截止日期.我不需要显示几天的时间间隔.

There does not seem to be any way to select a Task as an "All Day Event." All I need to show are due dates in a single block; I do not need to show an interval of time over several days. 

发生了什么,为什么我不能消磨时间呢?日历视图? < o:p></o:p>

推荐答案

Hi SusanKBR, 

没有OOTB方法可以满足您的要求.

There is no OOTB method to achieve your requirement.

要消除日历视图中的时间,您可以在calendar.aspx页面上添加内容编辑Web部件,并添加以下CSS代码:

To eliminate the time in the Calendar View, you can add a content edit web part at the calendar.aspx page, add the following css code:

<style type="text/css">
.ms-acal-time{display:none;}
</style>

Then the calendar view looks like the following:

最好的问候,

丽莎·陈(Lisa Chen)

Lisa Chen 


这篇关于SharePoint 2013:任务列表日历视图仍显示时间!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆