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

fix(NcDateTime): When relative time is disabled return a string and not the reference to it #5493

Merged
merged 1 commit into from
Apr 19, 2024

Commits on Apr 12, 2024

  1. fix(NcDateTime): When relative time is disabled return a string and n…

    …ot the reference to it
    
    The `.value` call was missing in case of disabled relative time. This causes the string to be quoted (because of stringification of the computed value).
    To prevent similar issues the file is now migrated to Typescript, also fixed some other issues discovered by type checking.
    
    Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
    susnux committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    557b1ec View commit details
    Browse the repository at this point in the history