Change:
Version: 1.44.0-insider (user setup) Commit: Date: 2020-03-31T08:23:56.446Z Electron: 7.1.11 Chrome: 78.0.3904.130 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT x64 10.0. This: ! Reminds me of this in onenote: ! The latter of which drives me crazy as it always lies to me and a restart to re-sync onenote is needed sometimes. Can we get the local time down to the second when you hover the last synced text?
what are the current setup steps for Sync in OSS? I have the setting set to whatever I tested it with a couple months ago but I don't see any Sync commands in the command palette. I can't remember where this is written down.
Could just put the real time in a tooltip, if that helps
I think just the change is needed to get it going in Code OSS. would solve my problem.

Discussion:
const month = day * 30; const year = day * 365; <del> export function fromNow(date: number | Date, appendAgoLabel?: boolean, useFullTimeWords?: boolean): string { </del> <ins> /** * Create a localized of the time between now and the specified date. * @param date The date to generate the difference from. * @param appendAgoLabel Whether to append the " ago" to the end. * @param useFullTimeWords Whether to use full words (eg. seconds) instead of * shortened (eg. secs). * @param disallowNow Whether to disallow the string "now" when the difference * is less than 30 seconds. */ export function fromNow(date: number | Date, appendAgoLabel?: boolean, useFullTimeWords?: boolean, disallowNow?: boolean): string { </ins> if (typeof date !== 'number') { date = date.getTime(); }

return localize('date.fromNow.in', 'in {0}', fromNow(new Date().getTime() + seconds * 1000, false)); } <del> if (seconds < 30) { </del> <ins> if (!disallowNow && seconds < 30) { </ins> return localize('date.fromNow.now', 'now'); }

<ins> /*--------------------------------------------------------------------------------------------- *  Copyright (c) Microsoft Corporation. All rights reserved. *  Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { strictEqual } from 'assert'; import { fromNow } from 'vs/base/common/date'; suite('Date', () => { suite('fromNow', () => { test('appendAgoLabel', () => { strictEqual(fromNow(Date.now() - 35000), '35 secs'); strictEqual(fromNow(Date.now() - 35000, false), '35 secs'); strictEqual(fromNow(Date.now() - 35000, true), '35 secs ago'); }); test('useFullTimeWords', () => { strictEqual(fromNow(Date.now() - 35000), '35 secs'); strictEqual(fromNow(Date.now() - 35000, undefined, false), '35 secs'); strictEqual(fromNow(Date.now() - 35000, undefined, true), '35 seconds'); }); test('disallowNow', () => { strictEqual(fromNow(Date.now() - 5000), 'now'); strictEqual(fromNow(Date.now() - 5000, undefined, undefined, false), 'now'); strictEqual(fromNow(Date.now() - 5000, undefined, undefined, true), '5 secs'); }); }); }); </ins>

const last = this.userDataSyncService.lastSyncTime; let label: string; if (typeof last === 'number') { <del> const d = fromNow(last, true); </del> <ins> const d = fromNow(last, true, undefined, true); </ins> label = localize('lastSyncedLabel', "Last synced: {0}", d); } else { label = '';