Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 755 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 755 Bytes

Godot Calendar

A simple calendar with VERY basic functionality to select day, month, and year.

screenshot

How to Use

Simply clone the repository and add the scene to your project. The calendar only has a single signal that returns the date (day, month, and year) as a dictionary.

onready var calendar = $Calendar

func _ready():
    calendar.connect("date_selected", self, "print_date")

func print_date(date):
    print("date selected: ", date)
    print("weekday: ", calendar.get_weekday(date))

TODO

  • Better define popup/hide behavior.

  • Add dates for before and after current month.

  • Add method to get daylight savings for selected date.

  • Make more customizable??