Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@cosmicshuai
Copy link
Contributor

closes #5595

  1. add locale parameter support in built-in functions
    Now, DateTime and string operations functions won't throw syntax error.
    image

2, Update the built-in functions map:
including, ticksToDays, ticksToHours, ticksToMinutes, floor, ceiling, round, getPrevious(Next)ViableDate(Time), EOL, reverse, resolve, jsonStringfy, dateTimeDiff, formatTicks, formatEpoch, formatNumber, etc.
image
image
image
image

@cosmicshuai cosmicshuai changed the title Fix: add locale parameter support in built-in functions and update built-in function map fix: add locale parameter support in built-in functions and update built-in function map Jan 25, 2021
@coveralls
Copy link

coveralls commented Jan 25, 2021

Coverage Status

Coverage remained the same at 55.094% when pulling e345422 on shuwan/updateExprPkg into 806adcb on main.

boydc2014
boydc2014 previously approved these changes Feb 4, 2021
@cosmicshuai cosmicshuai changed the title fix: add locale parameter support in built-in functions and update built-in function map [Do not merge]fix: add locale parameter support in built-in functions and update built-in function map Feb 4, 2021
@cosmicshuai cosmicshuai closed this Feb 5, 2021
@cosmicshuai cosmicshuai reopened this Feb 5, 2021
@cosmicshuai cosmicshuai changed the title [Do not merge]fix: add locale parameter support in built-in functions and update built-in function map fix: add locale parameter support in built-in functions and update built-in function map Feb 5, 2021
@cosmicshuai cosmicshuai merged commit 3637ddb into main Feb 5, 2021
@cosmicshuai cosmicshuai deleted the shuwan/updateExprPkg branch February 5, 2021 08:55
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…ilt-in function map (microsoft#5599)

* update package version

* fix version and add sqrt and abs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

formatDateTime not allowed with extra locale settings

4 participants