SeedCodeCalendar12

Time Formats

SeedCodeCalendar12.TimeFormats History

Show minor edits - Show changes to output

June 28, 2013, at 01:50 PM by 50.132.84.245 -
Changed lines 41-43 from:
That's it.
to:
That's it.

If you want to alter the displays of other views, use a Case() test instead of If() in the calc above and test for the other [[Modes in the Calendar | calendar modes]] like "Day"
.
August 12, 2012, at 05:34 PM by 50.132.84.245 -
Changed lines 15-16 from:
The drop-down lists of event times can be changed by editing the value list 'Calendar Times". The time shown on event details is editable in layout mode, just as you'd change the format of any other time field.
to:
The drop-down lists of event times can be changed by editing the value list "Calendar Times". The time shown on event details is editable in layout mode, just as you'd change the format of any other time field.
August 12, 2012, at 05:32 PM by 50.132.84.245 -
Changed lines 15-16 from:
The drop-down lists of event times can be changed by editing the value list 'Time List". The time shown on event details is editable in layout mode, just as you'd change the format of any other time field.
to:
The drop-down lists of event times can be changed by editing the value list 'Calendar Times". The time shown on event details is editable in layout mode, just as you'd change the format of any other time field.
August 12, 2012, at 05:30 PM by 50.132.84.245 -
Added lines 13-16:
'''In Event Details'''

The drop-down lists of event times can be changed by editing the value list 'Time List". The time shown on event details is editable in layout mode, just as you'd change the format of any other time field.

Changed lines 22-25 from:
];


to:
->];


Changed line 21 from:
t1me = GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] )
to:
-> t1me = GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] )
Changed lines 33-36 from:
t1me = if ( $$sc_Mode ≠ "Month" ; GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] ) ; "" )
];

to:
->t1me = if ( $$sc_Mode ≠ "Month" ; GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] ) ; "" )
-> ];

Changed line 20 from:
Let ( [
to:
-> Let ( [
Changed line 32 from:
Let ( [
to:
-> Let ( [
Added lines 12-37:

!! Can I remove the time display from just the month view?

Yes. The start time is controlled in the last Set Variable line of the script "Format Event Time --- Edit Time Formats for Events Here ---". To remove the time only in month view, change this part of that last calc...


->// -------------- ALL OTHERS -------------------

Let ( [
t1me = GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] )
];



...to this:



->// -------------- ALL OTHERS -------------------

Let ( [
t1me = if ( $$sc_Mode ≠ "Month" ; GetAsTime ( $$sc_DateTimeStart[$$sc_SourceInUse] ) ; "" )
];


That's it.
December 31, 2009, at 06:44 AM by 76.22.123.157 -
Changed lines 5-6 from:
Events are displayed as text, so we control the formatting of time in a script before turning that time into text we show in the calendar.
to:
Events in the calendar (on the month view, for example) are displayed as text, so we control the formatting of time in a script before turning that time into text we show in the calendar.
November 28, 2009, at 01:10 AM by 76.22.123.157 -
Added lines 1-11:
!! How can I change the way times are displayed?

'''In the Event Display'''

Events are displayed as text, so we control the formatting of time in a script before turning that time into text we show in the calendar.

Edit the script "Format Event Time --- Edit Time Formats for Events Here ---" and you'll see a number of commented switches to do things like turn the time from 12hr time to 24hr time.

'''In the (vertical or horizontal) Time Scale'''

The times that display on the vertical time scale of the day view, week view, and schedule views are actual time fields, so you'll want to enter layout mode and change those using FileMaker's native time formating controls at the layout level. If you have trouble getting to the right tab in layout mode, read [[CalendarTabs | this]].
(855) SEEDCODE
[email protected]
Follow us: