Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the system time function #13742

Merged
merged 3 commits into from
May 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
1. [13718](https://github.com/influxdata/influxdb/pull/13718): Updated System template to support math with floats
1. [13732](https://github.com/influxdata/influxdb/pull/13732): Fixed the window function documentation
1. [13738](https://github.com/influxdata/influxdb/pull/13738): Fixed typo in the `range` Flux function example
1. [13742](https://github.com/influxdata/influxdb/pull/13742): Updated the `systemTime` function to use `system.time`

### UI Improvements
1. [13424](https://github.com/influxdata/influxdb/pull/13424): Add general polish and empty states to Create Dashboard from Template overlay
Expand Down
8 changes: 4 additions & 4 deletions ui/src/shared/constants/fluxFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2706,14 +2706,14 @@ export const FLUX_FUNCTIONS: FluxToolbarFunction[] = [
'https://v2.docs.influxdata.com/v2.0/reference/flux/functions/built-in/transformations/aggregates/sum/',
},
{
name: 'systemTime',
name: 'system.time',
args: [],
package: '',
package: 'system',
desc: 'Returns the current system time.',
example: 'systemTime()',
example: 'system.time()',
category: 'Miscellaneous',
link:
'https://v2.docs.influxdata.com/v2.0/reference/flux/functions/built-in/misc/systemtime/',
'https://v2.docs.influxdata.com/v2.0/reference/flux/functions/system/time/',
},
{
name: 'testing.assertEmpty',
Expand Down