Script Summary: Shows line and time display at current time on day view, week view and custom view.
Version: 0.3.15
Note: Now Google Calendar support current time line in natively. If you use this script, you should check that setting of "Show current time" is "No".
Settings
You can set the style of the line with the setting panel of Google Calendar. Please open setting panel by click "Settings" and "Time Line" tab (or click User Script Commands... > Setting for Display Current Time Line sub-menu). The meaning of each setting is as follows.
h: hour(0-23), hh: hour(00-23), H: hour(1-12), HH: hour(01-12), m: minute(0-59), mm: minute(00-59), s: second(0-59), ss: second(00-59), am: "am" or "pm", AM: "AM" or "PM".
The string placed between the quotation mark (" or ') is output as it is.
Note: This is a local setting. It not synchronize with other PC.
Samples for the line style
The line with triangle marker

Line style:
height: 0; border: 6px transparent solid; border-left-color: black; border-right-width: 0; opacity: 0.7;
Time style:
height: 1px; background: black; color: black; text-align: right; font-size: 11px; font-weight: bold; padding-right: 1px;
Time display in the dotted box

Line style:
height: 11px; border: 1px dotted green; opacity: 0.5;
Time style:
background: #FFFFCC; color: green; font-size: 11px; font-weight: bold; line-height: 1; text-align: center;
The line with side time display

Line style:
background: red; border: 1px solid black; height: 1px; border-width: 1px 0; opacity: 0.7; margin-left: -3px;
Time style:
background: black; color: white; font-size: 11px; text-align: right; position: absolute; right: 100%; line-height: 1; margin-top: -6px; padding: 1px 4px 1px 0; width: 36px;
The line with caption

Time format:
"<i>New York</i><br>" h:mm
Line style:
border-top: 1px dotted green; height: 0; opacity: 0.7; line-height: 1;
Time style:
color: green; font-size: 11px; margin-top: -12px; padding-right: 1px



