1/* 2The contents of this file are subject to the Mozilla Public License Version 1.1 3(the "License"); you may not use this file except in compliance with the 4License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 5 6Software distributed under the License is distributed on an "AS IS" basis, 7WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for 8the specific language governing rights and limitations under the License. 9 10The Original Code is comprised of the pt_social_media app directory 11 12The Initial Developer of the Original Code is 13PaperThin, Inc. Copyright(C) 2011-2022. 14All Rights Reserved. 15 16By downloading, modifying, distributing, using and/or accessing any files 17in this directory, you agree to the terms and conditions of the applicable 18end user license agreement. 19*/ 20 21/* *************************************************************** */ 22/* 23Author: 24 PaperThin Inc. 25 G. Cronkright 26Name: 27 socialmedia.js 28Summary: 29 JavaScript for the Social Media App 30ADF App: 31 pt_social_media 32History: 33 2011-03-13 - GAC - Created 34*/ 35//console.log('socialmedia.js loaded!'); 36 37/* 38* buildUsersLocalDateTime - GAC (2011-03-13) 39* Converts the passed in DateTime to a datetime stamp based on the user's local system clock 40*/ 41function buildUsersLocalDateTime(datetime){ 42 // Convert to UTC Time 43 var utcDT = new Date(datetime); 44 var utcDTstamp = utcDT.toUTCString(); 45 // Convert to Local Browser Time 46 var localDT = new Date(utcDTstamp); 47 var localDTstamp = localDT.toLocaleString(); 48 return localDTstamp; 49}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.