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

tooltip format() should understand date-time format pattern #387

Closed
alshan opened this issue Jun 11, 2021 · 2 comments
Closed

tooltip format() should understand date-time format pattern #387

alshan opened this issue Jun 11, 2021 · 2 comments
Assignees

Comments

@alshan
Copy link
Collaborator

alshan commented Jun 11, 2021

tooltips=layer_tooltips().format("Date", "{%y}")

returns error:

Wrong number pattern: %y

tooltips=layer_tooltips().format("Date", "%y")

returns error:

Wrong number of arguments in pattern '%y' to format 'Date'. Expected 1 argument instead of 0

@OLarionova-HORIS OLarionova-HORIS self-assigned this Jun 16, 2021
@alshan alshan added this to the 2021Q3 milestone Jun 28, 2021
@OLarionova-HORIS
Copy link
Collaborator

Related #392:
adding date-time format support to class StringFormat will solve both issues.

@OLarionova-HORIS
Copy link
Collaborator

Added: #421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants